diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-10-21 17:48:05 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-10-21 17:48:05 +0200 |
commit | e422f638bc3b3780bf5784b1ce218d3e87d068cf (patch) | |
tree | 8c07b1c4bf44876955bfeaaf2f391a09f7429b1f /source3/selftest/tests.sh | |
parent | fe02004865144dd5061a6cc9889bef6195de995e (diff) | |
download | samba-e422f638bc3b3780bf5784b1ce218d3e87d068cf.tar.gz |
Use socket wrapper for selftest.pl, find binaries correctly.
Diffstat (limited to 'source3/selftest/tests.sh')
-rwxr-xr-x | source3/selftest/tests.sh | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/source3/selftest/tests.sh b/source3/selftest/tests.sh index 01f87debd0b..65ecfc0b5db 100755 --- a/source3/selftest/tests.sh +++ b/source3/selftest/tests.sh @@ -49,4 +49,20 @@ BINDIR=`dirname $0`/../bin plantest "talloctort" none $VALGRIND $BINDIR/talloctort plantest "replacetort" none $VALGRIND $BINDIR/replacetort plantest "tdbtorture" none $VALGRIND $BINDIR/tdbtorture -#plantest "smbconftort" none $VALGRIND $BINDIR/smbconftort $CONFIGURATION +plantest "smbconftort" none $VALGRIND $BINDIR/smbconftort $CONFIGURATION + +tests="FDPASS LOCK1 LOCK2 LOCK3 LOCK4 LOCK5 LOCK6 LOCK7" +tests="$tests UNLINK BROWSE ATTR TRANS2 TORTURE " +tests="$tests OPLOCK1 OPLOCK2 OPLOCK3" +tests="$tests DIR DIR1 TCON TCONDEV RW1 RW2 RW3" +tests="$tests OPEN XCOPY RENAME DELETE PROPERTIES W2K" +tests="$tests TCON2 IOCTL CHKPATH FDSESS LOCAL-SUBSTITUTE" + +for t in $tests; do + plantest "$t" dc $VALGRIND $BINDIR/smbtorture \$UNC -U"\$USERNAME"%"\$PASSWORD" $t +done + +plantest "blackbox.smbclient" dc script/tests/test_smbclient_s3.sh \$SERVER \$SERVER_IP +plantest "blackbox.wbinfo" dc script/tests/test_wbinfo_s3.sh \$DOMAIN \$SERVER \$USERNAME \$PASSWORD +plantest "blackbox.net" dc script/tests/test_net_s3.sh + |