How to add this test to Samba4?
jelmer at samba.org
Tue May 15 15:15:13 GMT 2007
Andrew Bartlett wrote:
> I would like to add the RAW-QFILEINFO-IPC test to Samba4. This test
> runs against IPC$, but is picked up in the --list of all RAW tests, so I
> have to add a 'skip' entry for it in the samba4-skip file (as it will
> fail against a file share, as it opens /pipe/lsass).
> I tried to do this, but the skip entry is overriding this too.
> Index: selftest/test_posix.sh
> --- selftest/test_posix.sh (revision 22837)
> +++ selftest/test_posix.sh (working copy)
> @@ -20,3 +20,4 @@
> plantest "$t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS
> $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $t
> +plantest "RAW-QFILEINFO-IPC on IPC$" dc $VALGRIND bin/smbtorture
> $TORTURE_OPTIONS $ADDARGS //\$SERVER/ipc$ -U"\$USERNAME"%"\$PASSWORD"
> The other option is the fold it into the RAW-QFILEINFO test, and detect
> that the share is IPC$ somehow.
We try to match the elements in the skip list as regular expressions.
Have you tried using something like ^foo$ ?
More information about the samba-technical