mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
d58481bd13
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
17 lines
438 B
Bash
Executable File
17 lines
438 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ $# -lt 1 ]; then
|
|
cat <<EOF
|
|
Usage: test_net_cred_change.sh CONFIGURATION
|
|
EOF
|
|
exit 1;
|
|
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`
|
|
|
|
testok $0 $failed
|