svn commit: samba r18825 - in
branches/SAMBA_4_0/source/script/tests: .
tridge at samba.org
tridge at samba.org
Fri Sep 22 15:14:55 GMT 2006
Author: tridge
Date: 2006-09-22 15:14:53 +0000 (Fri, 22 Sep 2006)
New Revision: 18825
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18825
Log:
speed up the test_cifsdd.sh test by using a smaller file. It was
taking over half an hour on some systems
Modified:
branches/SAMBA_4_0/source/script/tests/test_cifsdd.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_cifsdd.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_cifsdd.sh 2006-09-22 15:14:03 UTC (rev 18824)
+++ branches/SAMBA_4_0/source/script/tests/test_cifsdd.sh 2006-09-22 15:14:53 UTC (rev 18825)
@@ -17,7 +17,7 @@
DD=bin/cifsdd
SHARE=tmp
-DEBUGLEVEL=4
+DEBUGLEVEL=1
failed=0
@@ -44,8 +44,10 @@
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
echo "Testing $bs block size ..."
More information about the samba-cvs
mailing list