svn commit: samba r3270 - in branches/SAMBA_4_0/source:
script/tests torture/raw
tridge at samba.org
tridge at samba.org
Tue Oct 26 22:44:28 GMT 2004
Author: tridge
Date: 2004-10-26 22:44:28 +0000 (Tue, 26 Oct 2004)
New Revision: 3270
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source&rev=3270&nolog=1
Log:
- added another unlink test
- removed BASE-TRANS2 from the list of tests to be worked on (its
already in the "passes" list)
Modified:
branches/SAMBA_4_0/source/script/tests/test_posix.sh
branches/SAMBA_4_0/source/torture/raw/unlink.c
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/test_posix.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/test_posix.sh 2004-10-26 22:42:43 UTC (rev 3269)
+++ branches/SAMBA_4_0/source/script/tests/test_posix.sh 2004-10-26 22:44:28 UTC (rev 3270)
@@ -43,7 +43,6 @@
soon="BASE-DENY1 BASE-DEFER_OPEN BASE-OPENATTR BASE-CHARSET"
soon="$soon RAW-SFILEINFO RAW-OPEN RAW-OPLOCK RAW-NOTIFY RAW-MUX"
soon="$soon RAW-CHKPATH RAW-WRITE RAW-RENAME"
-soon="$soon BASE-TRANS2"
for t in $tests; do
if [ ! -z "$start" -a "$start" != $t ]; then
Modified: branches/SAMBA_4_0/source/torture/raw/unlink.c
===================================================================
--- branches/SAMBA_4_0/source/torture/raw/unlink.c 2004-10-26 22:42:43 UTC (rev 3269)
+++ branches/SAMBA_4_0/source/torture/raw/unlink.c 2004-10-26 22:44:28 UTC (rev 3270)
@@ -73,6 +73,11 @@
status = smb_raw_unlink(cli->tree, &io);
CHECK_STATUS(status, NT_STATUS_OK);
+ io.in.pattern = fname;
+ io.in.attrib = FILE_ATTRIBUTE_HIDDEN;
+ status = smb_raw_unlink(cli->tree, &io);
+ CHECK_STATUS(status, NT_STATUS_OBJECT_NAME_NOT_FOUND);
+
printf("Trying a directory\n");
io.in.pattern = BASEDIR;
io.in.attrib = 0;
More information about the samba-cvs
mailing list