How to add this test to Samba4?

Andrew Bartlett abartlet at samba.org
Tue May 15 02:04:35 GMT 2007


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?

Andrew Bartlett

-- 
Andrew Bartlett                                http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.                  http://redhat.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20070515/f6c8141e/attachment.bin


More information about the samba-technical mailing list