svn commit: samba r25459 - in branches/SAMBA_4_0: . source/selftest

jelmer at samba.org jelmer at samba.org
Tue Oct 2 10:50:43 GMT 2007


Author: jelmer
Date: 2007-10-02 10:50:42 +0000 (Tue, 02 Oct 2007)
New Revision: 25459

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

Log:
Avoid bashism. Reported by Bj?\195?\182rn Jacke.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/selftest/test_rpc.sh


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/selftest/test_rpc.sh
===================================================================
--- branches/SAMBA_4_0/source/selftest/test_rpc.sh	2007-10-02 10:19:00 UTC (rev 25458)
+++ branches/SAMBA_4_0/source/selftest/test_rpc.sh	2007-10-02 10:50:42 UTC (rev 25459)
@@ -17,7 +17,8 @@
 # Make sure all tests get run
 for t in `$samba4bindir/smbtorture --list | grep "^RPC-"`
 do
-	if ! echo $all_tests | grep $t  > /dev/null
+	echo $all_tests | grep $t  > /dev/null
+	if [ $? -ne 0 ]
 	then
 		auto_rpc_tests="$auto_rpc_tests $t"
 	fi



More information about the samba-cvs mailing list