svn commit: samba r18302 - in branches/SAMBA_4_0/source/script/tests: .

tridge at samba.org tridge at samba.org
Sat Sep 9 10:22:49 GMT 2006


Author: tridge
Date: 2006-09-09 10:22:47 +0000 (Sat, 09 Sep 2006)
New Revision: 18302

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18302

Log:

fixed test_cifsdd.sh - the unnecessary sum operations were breaking on
solaris

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-09 10:05:58 UTC (rev 18301)
+++ branches/SAMBA_4_0/source/script/tests/test_cifsdd.sh	2006-09-09 10:22:47 UTC (rev 18302)
@@ -34,13 +34,7 @@
 }
 
 compare() {
-	if [ -r $1 -a -r $2 ] ; then
-	    sum1=`sum $1`
-	    sum2=`sum $2`
-	    test "$sum1" = "$sum2"
-	else
-	    false
-	fi
+    cmp "$1" "$2"
 }
 
 incdir=`dirname $0`



More information about the samba-cvs mailing list