diff options
author | Andrew Tridgell <tridge@samba.org> | 2006-09-22 15:14:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:19:14 -0500 |
commit | daf51dfe26378e80d14c0b608c70a41b7e017e69 (patch) | |
tree | 65054fa2ae8b71ec59806ccf9322147ad96fbdff /source4/script/tests | |
parent | 8c7337785505046a34d36c3131614ec3c0d93b2a (diff) | |
download | samba-daf51dfe26378e80d14c0b608c70a41b7e017e69.tar.gz samba-daf51dfe26378e80d14c0b608c70a41b7e017e69.tar.bz2 samba-daf51dfe26378e80d14c0b608c70a41b7e017e69.zip |
r18825: speed up the test_cifsdd.sh test by using a smaller file. It was
taking over half an hour on some systems
(This used to be commit 13ca7297dd8645085f12d4cf586c2c07f0f1b287)
Diffstat (limited to 'source4/script/tests')
-rwxr-xr-x | source4/script/tests/test_cifsdd.sh | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/script/tests/test_cifsdd.sh b/source4/script/tests/test_cifsdd.sh index 1fc8932d5b..f19dd9cf76 100755 --- a/source4/script/tests/test_cifsdd.sh +++ b/source4/script/tests/test_cifsdd.sh @@ -17,7 +17,7 @@ DOMAIN=$4 DD=bin/cifsdd SHARE=tmp -DEBUGLEVEL=4 +DEBUGLEVEL=1 failed=0 @@ -44,7 +44,9 @@ sourcepath=tempfile.src.$$ destpath=tempfile.dst.$$ # Create a source file with arbitrary contents -cp $DD $sourcepath +dd if=$DD of=$sourcepath bs=1024 count=50 > /dev/null + +ls -l $sourcepath for bs in 512 4k 48k ; do |