Hi Metze,

Thank you for the response!

On Nov 26, 2009, at 4:24 AM, Stefan (metze) Metzmacher wrote:

Hi Tim,
I would like to solicit some help from a selftest/samba 4 expert on how
to get selftest working with this recent commit.

The reason is that we use smbtorture --list in source4/selftest/ tests.sh
and --list only outputs the first 2 levels of torture suites nesting.

So we just pass RAW-SFILEINFO to smbtorture, which means it runs all
subtests.

Ok, if I'm understanding you correctly, there is no easy way to keep raw-sfileinfo in the quick list and only run a subtest. I wanted to avoid removing it, but it sounds
like it may be the best option at this point.

As we're getting this in make test now:

UNEXPECTED(failure): samba4.raw.sfileinfo (dc).END-OF-FILE
command: ./bin/smbtorture --configfile=$SMB_CONF_PATH
--maximum-runtime=1200 --target=samba4
--basedir=/home/metze/tmp/st-master4/s4client
--option=torture:progress=no --format=subunit //$SERVER/tmp
-U$USERNAME%$PASSWORD --option=torture:sharedelay=10000
--option=torture:oplocktimeout=3
--option=torture:writetimeupdatedelay=50000 RAW-SFILEINFO
ERROR: Testsuite[samba4.raw.sfileinfo (dc)]
REASON: Exit code was 1


we should add something like "raw.sfileinfo.*.END-OF-FILE" to
source4/selftest/knownfail


I've been attempting to do that with:

diff --git a/source4/selftest/knownfail b/source4/selftest/knownfail
index e2ae2cf..37c9f6a 100644
--- a/source4/selftest/knownfail
+++ b/source4/selftest/knownfail
@@ -10,9 +10,7 @@ base.delete.*.deltest20a
 base.delete.*.deltest20b
 raw.rename.*.osxrename
 raw.rename.*.directory rename
+raw.sfileinfo.*.END_OF_FILE
 rpc.winreg.*security
 samba4.local.registry.(dir|ldb).check hive security
 samba4.local.registry.local.security

Unfortunately, I'm still seeing failures in source4 'make test'. Am I missing
something simple?

Reply via email to