From 88bd0f2ac6bb7ec41d72a1ea3d7ee90333f4e978 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Sun, 1 Mar 2009 21:38:31 +0100 Subject: some shells are picky about ^ without quotes --- source4/selftest/tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source4/selftest/tests.sh b/source4/selftest/tests.sh index 99e530ec38..39e6cff274 100755 --- a/source4/selftest/tests.sh +++ b/source4/selftest/tests.sh @@ -126,7 +126,7 @@ all_tests="$ncalrpc_tests $ncacn_np_tests $ncacn_ip_tcp_tests $slow_ncalrpc_test # Make sure all tests get run for t in `$smb4torture --list | grep "^RPC-"` do - 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" @@ -174,7 +174,7 @@ done # Tests for the NET API -net=`$smb4torture --list | grep ^NET-` +net=`$smb4torture --list | grep "^NET-"` for t in $net; do plansmbtorturetest "$t" dc "\$SERVER[$VALIDATE]" -U"\$USERNAME"%"\$PASSWORD" -W "\$DOMAIN" "$*" -- cgit