s4 torture: Fix RAW-STREAMS-DELETE to pass against samba3
authorTim Prouty <tprouty@samba.org>
Fri, 18 Dec 2009 17:35:57 +0000 (09:35 -0800)
committerTim Prouty <tprouty@samba.org>
Fri, 18 Dec 2009 18:52:45 +0000 (10:52 -0800)
source4/torture/raw/streams.c

index 79cacffe10b10f12fe40c74ca93c22c67a031a85..a55575b6a3f2a359061dd0c4b96863fa77ffddd6 100644 (file)
@@ -609,7 +609,8 @@ static bool test_stream_delete(struct torture_context *tctx,
        CHECK_STATUS(status, NT_STATUS_OK);
 
        /* w2k and w2k3 return 0 and w2k8 returns 1 */
-       if (TARGET_IS_WINXP(tctx) || TARGET_IS_W2K3(tctx)) {
+       if (TARGET_IS_WINXP(tctx) || TARGET_IS_W2K3(tctx) ||
+           TARGET_IS_SAMBA3(tctx)) {
                CHECK_VALUE(finfo.all_info.out.delete_pending, 0);
        } else {
                CHECK_VALUE(finfo.all_info.out.delete_pending, 1);