From 365c93a8a3931a0d9b08bd98e2eb2d4076f6c091 Mon Sep 17 00:00:00 2001 From: deajan Date: Mon, 9 Jan 2017 11:21:47 +0100 Subject: [PATCH] dd bs numeric format is not mac compatible --- dev/tests/run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/tests/run_tests.sh b/dev/tests/run_tests.sh index 59717c1..50e733c 100755 --- a/dev/tests/run_tests.sh +++ b/dev/tests/run_tests.sh @@ -277,7 +277,7 @@ function setUp () { touch "$SOURCE_DIR/$RECURSIVE_DIR/$N_FILE_1" touch "$SOURCE_DIR/$RECURSIVE_DIR/$R_DIR_1/$R_FILE_1" touch "$SOURCE_DIR/$RECURSIVE_DIR/$R_DIR_2/$R_FILE_2" - dd if=/dev/urandom of="$SOURCE_DIR/$RECURSIVE_DIR/$R_DIR_3/$R_FILE_3" bs=1M count=2 + dd if=/dev/urandom of="$SOURCE_DIR/$RECURSIVE_DIR/$R_DIR_3/$R_FILE_3" bs=1048576 count=2 assertEquals "dd file creation" "0" $? touch "$SOURCE_DIR/$RECURSIVE_DIR/$R_DIR_3/$EXCLUDED_FILE"