diff options
author | Emmanuel Dreyfus <manu@netbsd.org> | 2014-07-10 05:45:52 +0200 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-07-14 06:29:15 -0700 |
commit | 210a59e48a52515615e440e2a6e1b650063c370b (patch) | |
tree | d7b6c13f342fc7ca01c17216720cf52990bd70aa /tests/bugs/bug-844688.t | |
parent | f637f2f101b13388187f8a6852d3ae6f1d9c2ad5 (diff) |
Regression test portability: dd usage
NetBSD, FreeBSD, and MacOS X dd(1) bs argument uses m for megabyte, while
Linux uses M. Use bs=1024k instead of bs=1M for better compatibility.
BUG: 764655
Change-Id: I603f57adbc9b31f6d634b918726437fbfce42e03
Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org>
Reviewed-on: http://review.gluster.org/8278
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Harshavardhana <harsha@harshavardhana.net>
Reviewed-by: Justin Clift <justin@gluster.org>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'tests/bugs/bug-844688.t')
-rwxr-xr-x | tests/bugs/bug-844688.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/bugs/bug-844688.t b/tests/bugs/bug-844688.t index ea9efe91d8e..228a3ed2470 100755 --- a/tests/bugs/bug-844688.t +++ b/tests/bugs/bug-844688.t @@ -16,7 +16,7 @@ mount_pid=$(get_mount_process_pid $V0); kill -USR2 $mount_pid; TEST touch $M0/touchfile; -(dd if=/dev/urandom of=$M0/file bs=5K 2>/dev/null 1>/dev/null)& +(dd if=/dev/urandom of=$M0/file bs=5k 2>/dev/null 1>/dev/null)& back_pid=$!; statedump_file=$(generate_mount_statedump $V0); grep "callstack-creation-time" $statedump_file 2>/dev/null 1>/dev/null; |