mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
48820b9528
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
17 lines
441 B
Bash
Executable File
17 lines
441 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
|