From 2bacbdf99de27a132c236003953574a321b0cdbc Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Tue, 13 Dec 2016 22:13:12 +0100 Subject: [PATCH] benchmark.bash: OSX dd does not support "K" postfix --- tests/canonical-benchmarks.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/canonical-benchmarks.bash b/tests/canonical-benchmarks.bash index 2e3970b..cdde33d 100755 --- a/tests/canonical-benchmarks.bash +++ b/tests/canonical-benchmarks.bash @@ -12,6 +12,7 @@ if [ $# -ne 1 ]; then exit 1 fi +# cd to TESTDIR cd "$1" TGZ=/tmp/linux-3.0.tar.gz @@ -28,7 +29,7 @@ function etime { } echo -n "WRITE: " -dd if=/dev/zero of=zero bs=128K count=2000 2>&1 | tail -n 1 +dd if=/dev/zero of=zero bs=131072 count=2000 2>&1 | tail -n 1 rm zero sleep 1 echo -n "UNTAR: "