Browse Source

fix test-base64-bigfile for linux

v0.7.4-release
Ryan Dahl 14 years ago
parent
commit
4adadc38f4
  1. 3
      test/pummel/test-base64-bigfile.js

3
test/pummel/test-base64-bigfile.js

@ -18,7 +18,8 @@ fs.stat(bigFile, function (er, s) {
function makeBigFile () { function makeBigFile () {
console.error("making bigFile"); 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) { if (er) {
console.error("Failed to create "+bigFile); console.error("Failed to create "+bigFile);
throw er; throw er;

Loading…
Cancel
Save