From 4fc740588ee1dddcae1eb50ecb278540edfab526 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Tue, 13 Dec 2016 15:41:00 -0800 Subject: [PATCH] tst: memfs: disable test that fails with --oplock option --- tst/winfsp-tests/stream-tests.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tst/winfsp-tests/stream-tests.c b/tst/winfsp-tests/stream-tests.c index c5e48a3d..b200097b 100644 --- a/tst/winfsp-tests/stream-tests.c +++ b/tst/winfsp-tests/stream-tests.c @@ -444,6 +444,10 @@ static void stream_create_overwrite_dotest(ULONG Flags, PWSTR Prefix) static void stream_create_overwrite_test(void) { + if (OptOplock) + /* this test fails with oplocks */ + return; + if (NtfsTests) { WCHAR DirBuf[MAX_PATH]; @@ -2280,7 +2284,8 @@ void stream_dirnotify_test(void) void stream_tests(void) { TEST(stream_create_test); - TEST(stream_create_overwrite_test); + if (!OptOplock) + TEST(stream_create_overwrite_test); TEST(stream_create_related_test); TEST(stream_create_sd_test); TEST(stream_create_share_test);