s4 torture: RAW-STREAMS-CREATEDISP Use a normal deny mode
authorTim Prouty <tprouty@samba.org>
Thu, 17 Dec 2009 21:35:01 +0000 (13:35 -0800)
committerTim Prouty <tprouty@samba.org>
Fri, 18 Dec 2009 01:58:35 +0000 (17:58 -0800)
source4/torture/raw/streams.c

index c0cb64b10618780bfca75078955f0aded7dd700c..6b41031fcbe38cf47fa7b3499f9077c2225ea4c3 100644 (file)
@@ -1487,7 +1487,7 @@ static bool test_stream_create_disposition(struct torture_context *tctx,
 
        io.openx.level = RAW_OPEN_OPENX;
        io.openx.in.flags = OPENX_FLAGS_ADDITIONAL_INFO;
-       io.openx.in.open_mode = OPENX_MODE_ACCESS_RDWR;
+       io.openx.in.open_mode = OPENX_MODE_ACCESS_RDWR | OPEN_FLAGS_DENY_NONE;
        io.openx.in.search_attrs = 0;
        io.openx.in.file_attrs = 0;
        io.openx.in.write_time = 0;