summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/selftest/test_rpc.sh3
1 files changed, 2 insertions, 1 deletions
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