summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-12-13 22:13:12 +0100
committerJakob Unterwurzacher2016-12-13 22:13:12 +0100
commit2bacbdf99de27a132c236003953574a321b0cdbc (patch)
treeea82c549fcf0429919df5fa87f1dc8d2d2976ed1
parent0749fbd9c9d5935956ce8675bb7f19abc1d02a0a (diff)
benchmark.bash: OSX dd does not support "K" postfix
-rwxr-xr-xtests/canonical-benchmarks.bash3
1 files changed, 2 insertions, 1 deletions
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: "