summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/Makefile.in3
-rw-r--r--source3/selftest/skip15
-rwxr-xr-xsource3/selftest/tests.sh18
3 files changed, 34 insertions, 2 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in
index ac330b39ff..09c1dd7b35 100644
--- a/source3/Makefile.in
+++ b/source3/Makefile.in
@@ -2811,7 +2811,8 @@ selftest:: all torture timelimit
@../selftest/selftest.pl --prefix=st --target=samba3 \
--testlist="$(srcdir)/selftest/tests.sh|" \
--expected-failures=$(srcdir)/selftest/knownfail \
- --exclude=$(srcdir)/selftest/skip
+ --exclude=$(srcdir)/selftest/skip \
+ --socket-wrapper
# Check for Winbind struct 32/64bit padding
test_wbpad:
diff --git a/source3/selftest/skip b/source3/selftest/skip
index e69de29bb2..152c076ec7 100644
--- a/source3/selftest/skip
+++ b/source3/selftest/skip
@@ -0,0 +1,15 @@
+samba3.smbconftort # Errors, needs smb.conf file
+samba3.randomipc
+samba3.negnowait
+samba3.nbench
+samba3.errmapextract
+samba3.trans2scan
+samba3.nttransscan
+samba3.deny1
+samba3.deny2
+samba3.openattr
+samba3.casetable
+samba3.eatest
+samba3.mangle
+samba3.utable
+samba3.pipe_number
diff --git a/source3/selftest/tests.sh b/source3/selftest/tests.sh
index 01f87debd0..65ecfc0b5d 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
+