2 # Blackbox tests for locktest
3 # Copyright (C) 2008 Andrew Tridgell
4 # based on test_smbclient.sh
8 Usage: test_locktest.sh SERVER USERNAME PASSWORD DOMAIN PREFIX
21 samba4bindir
="$BINDIR"
22 locktest
="$samba4bindir/locktest"
24 .
`dirname $0`/..
/..
/..
/testprogs
/blackbox
/subunit.sh
26 testit
"locktest" $VALGRIND $locktest //$SERVER/test1
//$SERVER/test2
--num-ops=100 -W "$DOMAIN" -U"$USERNAME%$PASSWORD" $@ || failed
=`expr $failed + 1`