2 # Blackbox tests for samba-tool
12 samba4bindir="$BUILDDIR/bin"
13 smbclient="$samba4bindir/smbclient$EXEEXT"
14 samba_tool="$samba4bindir/samba-tool$EXEEXT"
23 if [ x$status = x0 ]; then
27 failed=`expr $failed + 1`
32 testit "Test login with --machine-pass without kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp --machine-pass -k no
34 testit "Test login with --machine-pass and kerberos" $VALGRIND $smbclient -c 'ls' $CONFIGURATION //$SERVER/tmp --machine-pass -k yes
36 testit "time" $VALGRIND $samba_tool time $SERVER $CONFIGURATION -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@
38 # FIXME: testit "domainlevel.show" $VALGRIND $samba_tool domainlevel show $CONFIGURATION