From daf51dfe26378e80d14c0b608c70a41b7e017e69 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 22 Sep 2006 15:14:53 +0000 Subject: 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) --- source4/script/tests/test_cifsdd.sh | 6 ++++-- 1 file 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 -- cgit