2 # Blackbox tests for gentest
3 # Copyright (C) 2008 Andrew Tridgell
4 # based on test_smbclient.sh
8 Usage: test_gentest.sh SERVER USERNAME PASSWORD DOMAIN
20 samba4bindir=`dirname $0`/../../source/bin
21 gentest=$samba4bindir/gentest
23 . `dirname $0`/subunit.sh
25 cat <<EOF > st/gentest.ignore
27 internal_information.out.file_id
30 testit "gentest" $VALGRIND $gentest //$SERVER/test1 //$SERVER/test2 --num-ops=100 --ignore=st/gentest.ignore -W "$DOMAIN" -U"$USERNAME%$PASSWORD" -U"$USERNAME%$PASSWORD" $@ || failed=`expr $failed + 1`
32 /bin/rm -f st/gentest.ignore