summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorTim Prouty <tprouty@samba.org>2009-12-18 09:35:57 -0800
committerTim Prouty <tprouty@samba.org>2009-12-18 10:52:45 -0800
commit9b869230a724dc00ea21d00a222f4eb9396a385f (patch)
tree6459f103e9b8936531d6c672663d45ea21da2fd6 /source4
parentea365af4f597fd1fb596018920040a6af49144ec (diff)
downloadsamba-9b869230a724dc00ea21d00a222f4eb9396a385f.tar.gz
samba-9b869230a724dc00ea21d00a222f4eb9396a385f.tar.bz2
samba-9b869230a724dc00ea21d00a222f4eb9396a385f.zip
s4 torture: Fix RAW-STREAMS-DELETE to pass against samba3
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/raw/streams.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/raw/streams.c b/source4/torture/raw/streams.c
index 79cacffe10..a55575b6a3 100644
--- a/source4/torture/raw/streams.c
+++ b/source4/torture/raw/streams.c
@@ -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);