1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00
samba-mirror/source3/script/tests/test_net_cred_change.sh
Alexander Bokovoy d58481bd13 s3-tests: assignement in shell shall have no spaces around equal sign
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
2017-04-19 02:53:25 +02:00

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