diff options
author | Björn Jacke <bj@sernet.de> | 2012-06-10 21:32:55 +0200 |
---|---|---|
committer | Bjoern Jacke <bj@sernet.de> | 2012-06-10 23:29:42 +0200 |
commit | 527fdb2659dc04dafe7c34786e77c2fa4ea9ad5e (patch) | |
tree | 9b52a4a281b552cb36c104d356e44ee8ee77eb9b /source3/script | |
parent | 2fb4c551e8a87cbdfff014a8c9c4ebd6f138d01e (diff) | |
download | samba-527fdb2659dc04dafe7c34786e77c2fa4ea9ad5e.tar.gz samba-527fdb2659dc04dafe7c34786e77c2fa4ea9ad5e.tar.bz2 samba-527fdb2659dc04dafe7c34786e77c2fa4ea9ad5e.zip |
s3/test: make dd call more portable
using multiplicative suffixes like K, M etc. in dd isn't portable
Autobuild-User(master): Björn Jacke <bj@sernet.de>
Autobuild-Date(master): Sun Jun 10 23:29:42 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/script')
-rwxr-xr-x | source3/script/tests/test_smbclient_posix_large.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |