From 527fdb2659dc04dafe7c34786e77c2fa4ea9ad5e Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Sun, 10 Jun 2012 21:32:55 +0200 Subject: s3/test: make dd call more portable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit using multiplicative suffixes like K, M etc. in dd isn't portable Autobuild-User(master): Björn Jacke Autobuild-Date(master): Sun Jun 10 23:29:42 CEST 2012 on sn-devel-104 --- source3/script/tests/test_smbclient_posix_large.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/script') diff --git a/source3/script/tests/test_smbclient_posix_large.sh b/source3/script/tests/test_smbclient_posix_large.sh index a5fdbba3ac..0aee7afcc0 100755 --- a/source3/script/tests/test_smbclient_posix_large.sh +++ b/source3/script/tests/test_smbclient_posix_large.sh @@ -49,7 +49,7 @@ EOF } rm -f $PREFIX/largefile -dd if=/dev/zero of=$PREFIX/largefile skip=20M count=1 bs=1 +dd if=/dev/zero of=$PREFIX/largefile skip=$((20*1024*1024)) count=1 bs=1 incdir=`dirname $0`/../../../testprogs/blackbox . $incdir/subunit.sh -- cgit