From 569903dd0c8adb8e529c8a87da841e3a01baaa7f Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 2 Oct 2007 10:50:42 +0000 Subject: r25459: Avoid bashism. Reported by Björn Jacke. (This used to be commit a03e09b878ad455facbb8ff47207bc5534fa9aca) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source4/selftest/test_rpc.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source4/selftest') diff --git a/source4/selftest/test_rpc.sh b/source4/selftest/test_rpc.sh index 6fc959b312..3ac4e3de66 100755 --- a/source4/selftest/test_rpc.sh +++ b/source4/selftest/test_rpc.sh @@ -17,7 +17,8 @@ all_tests="$ncalrpc_tests $ncacn_np_tests $ncacn_ip_tcp_tests $slow_ncalrpc_test # 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 -- cgit