fix test-base64-bigfile for linux

This commit is contained in:
Ryan Dahl 2010-10-18 15:00:49 -07:00
parent 97255c2651
commit 4adadc38f4

View File

@ -18,7 +18,8 @@ fs.stat(bigFile, function (er, s) {
function makeBigFile () {
console.error("making bigFile");
cp.exec("dd if=/dev/zero of="+bigFile+" bs=128m count=1", function (er) {
// write 128mb of zeros to bigFile
cp.exec("dd if=/dev/zero of="+bigFile+" bs=134217728 count=1", function (er) {
if (er) {
console.error("Failed to create "+bigFile);
throw er;