From fc5762388a725cd18d10a356960382ea050c8064 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 5 Mar 2012 14:28:15 +1100 Subject: selftest: run smbtorture_s3 tests against the ntvfs file server This checks not only the behaviour of the NTVFS file server, but also the client library and authentication stack. Andrew Bartlett --- selftest/knownfail | 13 +++++++++++++ selftest/target/Samba4.pm | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'selftest') diff --git a/selftest/knownfail b/selftest/knownfail index cc5d16b1ac..1a6c6bd518 100644 --- a/selftest/knownfail +++ b/selftest/knownfail @@ -7,6 +7,19 @@ ^samba3.blackbox.failure.failure # this is designed to fail, for testing our test infrastructure .*driver.add_driver_timestamps # we only can store dates, not timestamps ^samba3.smbtorture_s3.LOCAL-TALLOC-DICT #fails +^samba3.smbtorture_s3.plain\(dc\).LOCK9 # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).OPLOCK2 # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).STREAMERROR # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).DIR1 # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).DIR-CREATETIME # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).DELETE-LN # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).POSIX # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).UID-REGRESSION-TEST # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).SHORTNAME-TEST # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).POSIX-APPEND # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).NTTRANS-FSCTL # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).SMB2-NEGPROT # Fails against the s4 ntvfs server +^samba3.smbtorture_s3.plain\(dc\).BAD-NBT-SESSION # Fails against the s4 ntvfs server ^samba3.nbt.dgram.*netlogon2 ^samba3.*rap.sam.*.useradd # Not provided by Samba 3 ^samba3.*rap.sam.*.userdelete # Not provided by Samba 3 diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm index fb67c43350..698cd127a0 100644 --- a/selftest/target/Samba4.pm +++ b/selftest/target/Samba4.pm @@ -679,7 +679,8 @@ nogroup:x:65534:nobody SAMBA_TEST_FIFO => "$ctx->{prefix}/samba_test.fifo", SAMBA_TEST_LOG => "$ctx->{prefix}/samba_test.log", SAMBA_TEST_LOG_POS => 0, - NSS_WRAPPER_WINBIND_SO_PATH => Samba::bindir_path($self, "default/nsswitch/libnss-winbind.so") + NSS_WRAPPER_WINBIND_SO_PATH => Samba::bindir_path($self, "default/nsswitch/libnss-winbind.so"), + LOCAL_PATH => $ctx->{tmpdir} }; return $ret; -- cgit