s3-tests: assignement in shell shall have no spaces around equal sign
authorAlexander Bokovoy <ab@samba.org>
Tue, 18 Apr 2017 15:28:29 +0000 (18:28 +0300)
committerJeremy Allison <jra@samba.org>
Wed, 19 Apr 2017 00:53:25 +0000 (02:53 +0200)
When assigning value to 'failed', no spaces should be around '=' sign.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Apr 19 02:53:25 CEST 2017 on sn-devel-144

source3/script/tests/test_net_cred_change.sh

index 9013d079d33c572c681080c1bee5a7a1fe8dc401..de56be51b9f7c3f441f2f6264d46501908eb12c9 100755 (executable)
@@ -9,8 +9,8 @@ fi
 
 incdir=`dirname $0`/../../../testprogs/blackbox
 . $incdir/subunit.sh
-testit "first change" $VALGRIND $BINDIR/wbinfo -c || failed =`expr $failed + 1`
-testit "first join" $VALGRIND $BINDIR/net rpc testjoin $@ || failed =`expr $failed + 1`
-testit "second change" $VALGRIND $BINDIR/wbinfo -c || failed =`expr $failed + 1`
+testit "first change" $VALGRIND $BINDIR/wbinfo -c || failed=`expr $failed + 1`
+testit "first join" $VALGRIND $BINDIR/net rpc testjoin $@ || failed=`expr $failed + 1`
+testit "second change" $VALGRIND $BINDIR/wbinfo -c || failed=`expr $failed + 1`
 
 testok $0 $failed