1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-30 19:42:05 +03:00
Files
samba-mirror/source3/script/tests/test_net_cred_change.sh
Alexander Bokovoy 0636b9303d 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

(cherry picked from commit d58481bd13)

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12751

Autobuild-User(v4-6-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-6-test): Fri Apr 28 13:07:55 CEST 2017 on sn-devel-144
2017-04-28 13:07:54 +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