1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
Commit Graph

268 Commits

Author SHA1 Message Date
Günther Deschner
1605563b14 s3-selftest: add pattern test of dcerpc binding options (using rpc.lsa.lookupsids).
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Mar  8 12:29:21 CET 2011 on sn-devel-104
2011-03-08 12:29:21 +01:00
Günther Deschner
b7c692bae7 s3-selftest: no need to run rpc.samba3.netlogon twice.
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08 11:41:31 +01:00
Michael Adam
f1a5109565 s3:test: the registry roundtrip test passes now
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Sat Mar  5 02:19:33 CET 2011 on sn-devel-104
2011-03-05 02:19:33 +01:00
Andrew Bartlett
5590ac257f selftest the raw.mux test is flaky:
TESTING MULTIPLEXED LOCK/LOCK/UNLOCK
establishing a lock
the second lock will conflict with the first
this will too, but we'll unlock while waiting
unlock the first range
recv the async reply
async lock took 265.40 msec
failed to trigger early lock retry
UNEXPECTED(error): samba3.posix_s3.raw.mux.mux

Autobuild-User: Andrew Bartlett <abartlet@samba.org>
Autobuild-Date: Tue Feb 22 07:09:07 CET 2011 on sn-devel-104
2011-02-22 07:09:07 +01:00
Andrew Bartlett
6c1ce36ec9 selftest pass in srcdir into Samba3 target module 2011-02-22 16:20:10 +11:00
Andrew Bartlett
a82d9e4e72 s3-selftest convert tests.sh to python
This should allow us a much better chance of invoking the subunit
wrappers in the right way, at the right level.

Andrew Bartlett
2011-02-22 16:20:10 +11:00
Andrew Bartlett
56c28d1cfb s3-tests use $PREFIX to ensure tests don't work outside the test area
Andrew Bartlett
2011-02-22 14:50:14 +11:00
Andrew Bartlett
1650da8a99 Add tests for various s3 auth modes 2011-02-22 14:50:14 +11:00
Günther Deschner
78c4b2170e s3-selftest: make sure we really use --format=subunit when calling smbtorture4.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Feb 17 02:01:56 CET 2011 on sn-devel-104
2011-02-17 02:01:56 +01:00
Michael Adam
c819e3e862 s3:test: run the net.rpc.registry test under "dc" not "dc:local"
There is no need to run it on the rpc server, but it should
be run from a remote host.

Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 16:05:58 CET 2011 on sn-devel-104
2011-02-16 16:05:58 +01:00
Michael Adam
8e45fb4a83 s3:test: rename samba3.blackbox.testparm_s3 -> samba3.blackbox.testparm 2011-02-16 15:21:20 +01:00
Michael Adam
838de3cdd3 s3:test: rename samba3.blackbox.net_s3_registry_roundtrip -> samba3.blackbox.net.local.registry.roundtrip 2011-02-16 15:21:20 +01:00
Michael Adam
86ed1e77c7 s3:test: rename samba3.blackbox.net_s3_registry_rpc -> samba3.blackbox.net.rpc.registry 2011-02-16 15:21:20 +01:00
Michael Adam
395d8f41d6 s3:test: rename samba3.blackbox.net_s3_registry -> samba3.blackbox.net.local.registry 2011-02-16 15:21:20 +01:00
Michael Adam
2c77ece81b s3:test: rename samba3.blackbox.net_s3_misc --> samba3.blackbox.net.misc 2011-02-16 15:21:20 +01:00
Michael Adam
b03a171c13 s3:test: mark the net_registry_roundtrip test as knownfail
Autobuild-User: Michael Adam <obnox@samba.org>
Autobuild-Date: Wed Feb 16 13:45:09 CET 2011 on sn-devel-104
2011-02-16 13:45:09 +01:00
Michael Adam
fca423832f s3:test: add the registry roundtrip test as samba3.blackbox.net_s3_registry_roundtrip 2011-02-16 12:56:42 +01:00
Michael Adam
2e18c34d62 s3:test: add the "blackbox.failure" test to the knownfail tests
This is designed to fail. Its purpose is to test our test infrastructure.
2011-02-16 12:56:41 +01:00
Michael Adam
18f4940de2 s3:test: add the failure blackbox test as samba3.blackbox.failure 2011-02-16 12:56:41 +01:00
Michael Adam
ca2b960c41 s3:test: add the success blackbox test as samba3.blackbox.success 2011-02-16 12:56:40 +01:00
Günther Deschner
0bfdb3e249 s3-selftest: move all skipped test to skiplist.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Tue Feb 15 12:52:22 CET 2011 on sn-devel-104
2011-02-15 12:52:22 +01:00
Günther Deschner
c575d30a32 s3-selftest: when skipping tests, use the selftest/skip file.
Guenther
2011-02-15 12:09:22 +01:00
Volker Lendecke
822a511324 s3: Skip the CHAIN1 tests
They are broken with signing. I'll fix that.

Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Feb 11 17:42:09 CET 2011 on sn-devel-104
2011-02-11 17:42:09 +01:00
Günther Deschner
16af2539dc s3-selftest: revamp selftest wscript with s4 one.
Guenther
2011-02-11 16:06:06 +01:00
Günther Deschner
961f6295a9 s3-selftest: run the three net tests individually.
Guenther
2011-02-10 23:39:14 +01:00
Günther Deschner
541bf8068d s3-selftest: mark the driver timestamp test as knownfail for now.
Guenther
2011-02-08 17:23:52 +01:00
Günther Deschner
a44f76e2c4 s3-selftest: re-sync with s4-selftest wscript.
Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Jan 10 13:41:38 CET 2011 on sn-devel-104
2011-01-10 13:41:38 +01:00
Stefan Metzmacher
e1de884eaa s3:selftest: mark samba3.posix_s3.smb2.lock (dc).rw-exclusive as known to fail
This sometimes fails like this:

[218/271 in 22m22s] samba3.posix_s3.smb2.lock (dc)
UNEXPECTED(failure): samba3.posix_s3.smb2.lock (dc).rw-exclusive
REASON: _StringException: _StringException: ../torture/smb2/lock.c:406: status was NT_STATUS_END_OF_FILE, expected NT_STATUS_OK: (../torture/smb2/lock.c:406)

command: LD_LIBRARY_PATH=/memdisk/tridge/flakey/b18675/source3/source3/bin/shared:/memdisk/tridge/flakey/b18675/source3/source3/bin: bin/smbtorture4 --configfile=$SMB_CONF_PATH --maximum-runtime=1200 --target=samba3 --basedir=/memdisk/tridge/flakey/b18675/source3/source3/st --option="torture:winbindd_netbios_name=$SERVER" --option="torture:winbindd_netbios_domain=$DOMAIN" --option=torture:localdir=/memdisk/tridge/flakey/b18675/source3/source3/st/dc/share --option=torture:sharedelay=100000 //$SERVER_IP/tmp -U$USERNAME%$PASSWORD smb2.lock 2>&1 | ../selftest/filter-subunit --prefix "samba3.posix_s3.smb2.lock (dc)."
expanded command: LD_LIBRARY_PATH=/memdisk/tridge/flakey/b18675/source3/source3/bin/shared:/memdisk/tridge/flakey/b18675/source3/source3/bin: bin/smbtorture4 --configfile=/memdisk/tridge/flakey/b18675/source3/source3/st/client/client.conf --maximum-runtime=1200 --target=samba3 --basedir=/memdisk/tridge/flakey/b18675/source3/source3/st --option="torture:winbindd_netbios_name=LOCALDC2" --option="torture:winbindd_netbios_domain=SAMBA-TEST" --option=torture:localdir=/memdisk/tridge/flakey/b18675/source3/source3/st/dc/share --option=torture:sharedelay=100000 //127.0.0.2/tmp -Utridge%localdc2pass smb2.lock 2>&1 | ../selftest/filter-subunit --prefix "samba3.posix_s3.smb2.lock (dc)."
ERROR: Testsuite[samba3.posix_s3.smb2.lock (dc)]
REASON: Exit code was 1

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 27 12:08:51 CET 2010 on sn-devel-104
2010-12-27 12:08:51 +01:00
Stefan Metzmacher
4ce3b53f12 s3:selftest: fix knownfail for samba3.posix_s3.rpc.spoolss.*printserver.enum_printers_old
The name is in lowercase since commit 35fbc7bbda
(s4-smbtorture: Make test names lowercase and dot-separated.)

This should avoid intermittent failures in make test.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Mon Dec 13 13:52:18 CET 2010 on sn-devel-104
2010-12-13 13:52:18 +01:00
Günther Deschner
a43a1d9226 s3-selftest: support differing VFSLIBDIR in autoconf and waf build.
With this change make test in the s3 waf build (w/o s4 smbtorture yet) works!

Guenther

Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Mon Dec 13 13:06:05 CET 2010 on sn-devel-104
2010-12-13 13:06:05 +01:00
Jelmer Vernooij
35fbc7bbda s4-smbtorture: Make test names lowercase and dot-separated.
This is consistent with the test names used by selftest, should
make the names less confusing and easier to integrate with other tools.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-11 04:16:13 +01:00
Björn Jacke
72a322ed9c s3/selftest: add some FIXMEs
this needs some rework. Sourced shell code cannot take arguments, at least no
portable shell. This generates errors on the buildfarm sind quite a while.
2010-12-02 10:36:06 +01:00
Andrew Tridgell
8a56f8ddb1 s3-spoolss: added another intermittent failure to knownfail
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Oct  6 11:55:00 UTC 2010 on sn-devel-104
2010-10-06 11:55:00 +00:00
Günther Deschner
cef5a36cd1 selftest: make it more obvious we only expect the printjob tests to fail.
Guenther
2010-10-05 22:55:30 +02:00
Jelmer Vernooij
21475df35d s3-selftest: fix prefix in subunit output. 2010-10-01 18:49:40 +02:00
Jelmer Vernooij
f70a98605e s3: Add subunit-test target. 2010-10-01 18:49:40 +02:00
Andrew Tridgell
62d87f8f88 s3-selftest: added samba3.posix_s3.rpc.spoolss.printer to knownfail
this fails intermittently on sn-devel. Guenther suggested adding it to
knownfail

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Oct  1 04:37:36 UTC 2010 on sn-devel-104
2010-10-01 04:37:36 +00:00
Günther Deschner
9dcd5e6c8f s3-waf: add basic make test infrastructure, not able to test yet.
Guenther
2010-09-29 08:54:00 +02:00
Andrew Tridgell
c0a1cbda5d s3-selftest: added samba3.posix_s3.rap.printing as a knownfail
this fails intermittently on sn-devel, Günther suggests adding this to
knownfail for now
2010-09-26 06:29:06 +00:00
Jelmer Vernooij
5b10c82a58 s3-selftest: Fix test prefixes in subunit output. 2010-09-22 17:48:23 -07:00
Jelmer Vernooij
bad0041390 s3-selftest: Move Samba3-specific script to source3/selftest. 2010-09-16 00:15:29 +00:00
Günther Deschner
d4d34bddd7 s3-selftest: add print_test_extended (as called from RPC-PRINTER) to knownfail list.
Guenther
2010-09-10 23:07:49 +02:00
Andrew Bartlett
5a2f6c9700 s3:selftest This test does not fail anymore (Samba4's smbtorture has been fixed) 2010-08-18 16:21:32 +10:00
Günther Deschner
f03ac22770 s3-selftest: add samba3.posix_s3.rpc.spoolss.notify to knownfail list.
Guenther
2010-08-16 12:23:20 +02:00
Günther Deschner
472d2a356f s3-selftest: fix testparm tests as non-root.
Thanks to Andreas for pointing this out.

Guenther
2010-08-13 18:30:37 +02:00
Günther Deschner
b0343b2c0b s3-selftest: add testparm tests to selftest.
Guenther
2010-08-13 11:44:40 +02:00
Günther Deschner
160d882f34 s3-selftest: fix locktest9 in make selftest.
Guenther
2010-06-17 15:08:27 +02:00
Günther Deschner
aeacb023b9 s3-selftest: disable domain creds smbclient_s3 tests for now.
Not sure they were ever working before.

With this patch, make selftest is down to 4 failures from 259 tests.

(two times LOCK9 from s3 smbtorture, one spoolss notify test and
samba3.posix_s3.unix.info2).

Guenther
2010-06-08 15:47:04 +02:00
Günther Deschner
3854f0708e s3-selftest: Fix blackbox smbclient s3 tests during make selftest.
Guenther
2010-06-02 15:37:50 +02:00
Stefan Metzmacher
6346ec0c1c s3:selftest: handle spaces in test names
metze
2010-02-24 11:56:10 +01:00
Stefan Metzmacher
654f1147e1 s3:selftest: make wbinfo_s3 work on the "member" server too.
metze
2010-02-24 11:56:10 +01:00
Stefan Metzmacher
ddfd5b69a0 s3:selftest: $WORKGROUP doesn't exist, we should use $DOMAIN
metze
2010-02-23 16:19:41 +01:00
Kai Blin
4ff7f6ed36 s3 test: Make the netbios name test pass again 2010-02-11 23:56:36 +01:00
Stefan Metzmacher
e0472c59c8 s3:selftest: make selftest requires bash for now
So force bash until we removed the dependency to bash.

metze
2010-02-09 12:58:29 +01:00
Günther Deschner
661dada503 s3-selftest: use testenv dc so that smbtorture4 actually uses the client configuration.
Found while trying to get RPC-SPOOLSS-NOTIFY working against s3.

Guenther
2010-01-18 11:04:08 +01:00
Stefan Metzmacher
97a086d5c4 selftest/Samba3: Test smb signing against the member server
metze
2009-03-23 12:21:14 +01:00
Stefan Metzmacher
98e2fe5e6d s3:selftest: fix blackbox.net_s3 tests
metze
2009-02-03 17:43:23 +01:00
Stefan Metzmacher
df4e38fcc3 s3:selftest: run test_posix_s3.sh tests
metze
2009-02-03 00:10:20 +01:00
Stefan Metzmacher
45940ef23a s3:selftest: pass correct arguments to $SCRIPTDIR/test_smbtorture_s3.sh
metze
2009-02-02 15:16:12 +01:00
Stefan Metzmacher
c96534cd6e s3:selftest: run the same tests as 'make test'
Only the tests with samba4's smbtorture are missing.

metze
2009-01-30 19:48:00 +01:00
Stefan Metzmacher
6b128f03d5 selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
metze
2009-01-30 13:33:34 +01:00
Stefan Metzmacher
88278cf23f s3:selftest: import more tests from 'make test'
metze
2009-01-29 10:54:48 +01:00
Stefan Metzmacher
439172dc06 selftest: add "member" environment for Samba3
metze
2009-01-29 10:39:06 +01:00
Stefan Metzmacher
77bb2d6d0b s3:seltest: make test_smbclient_s3.sh more strict
metze
2009-01-29 10:36:12 +01:00
Jelmer Vernooij
8ac2da0d09 Allow running individual tests in the testsuite, normalize test names, fix some tests. 2008-10-21 18:26:46 +02:00
Jelmer Vernooij
e422f638bc Use socket wrapper for selftest.pl, find binaries correctly. 2008-10-21 17:48:05 +02:00
Jelmer Vernooij
fe02004865 Specify skip list to selftest.pl, make make target depend on test
binaries.
2008-10-21 17:32:07 +02:00
Jelmer Vernooij
86576f0f16 Add 'selftest' target to Samba 3 that uses the perl selftest code. 2008-10-19 14:56:29 +02:00