How to add this test to Samba4?

Jelmer Vernooij jelmer at samba.org
Tue May 15 15:15:13 GMT 2007


Hi Andrew,

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 @@
>      start=""
>      plantest "$t" dc $VALGRIND bin/smbtorture $TORTURE_OPTIONS
> $ADDARGS //\$SERVER/tmp -U"\$USERNAME"%"\$PASSWORD" $t
>  done
> +plantest "RAW-QFILEINFO-IPC on IPC$" dc $VALGRIND bin/smbtorture
> $TORTURE_OPTIONS $ADDARGS //\$SERVER/ipc$ -U"\$USERNAME"%"\$PASSWORD"
> RAW-QFILEINFO-IPC
> 
> The other option is the fold it into the RAW-QFILEINFO test, and detect
> that the share is IPC$ somehow.  
> 
> Thoughts?
We try to match the elements in the skip list as regular expressions. 
Have you tried using something like ^foo$ ?
Cheers,

Jelmer



More information about the samba-technical mailing list