r22187: Test kerberos logins in the smbclient blackbox tests, including with a
[Samba.git] / source / script / tests / test_blackbox.sh
blob9adafcb332c8d5a298ad82bda40ed273c2d97195
1 #!/bin/sh
3 # this runs tests that interact directly with the command-line tools rather than using the API
5 if [ $# -lt 1 ]; then
6 cat <<EOF
7 Usage: test_blackbox.sh PREFIX [...]
8 EOF
9 exit 1;
12 PREFIX=$1
13 shift 1
14 ADDARGS="$*"
16 incdir=`dirname $0`
17 . $incdir/test_functions.sh
19 plantest "blackbox.smbclient" dc $incdir/../../../testprogs/blackbox/test_smbclient.sh "\$NETBIOSNAME" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$PREFIX" "$ADDARGS"
20 plantest "blackbox.cifsdd" dc $incdir/../../../testprogs/blackbox/test_cifsdd.sh "\$NETBIOSNAME" "\$USERNAME" "\$PASSWORD" "\$DOMAIN" "$ADDARGS"