From 859d4250c373977d27afca41b16d1db6dbf74f10 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Wed, 17 Apr 2019 15:04:53 -0700 Subject: [PATCH] tst: winfsp-tests: wsl: fix WOW64 failure --- tst/winfsp-tests/wsl-test.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tst/winfsp-tests/wsl-test.c b/tst/winfsp-tests/wsl-test.c index f590adfb..94f3bb80 100644 --- a/tst/winfsp-tests/wsl-test.c +++ b/tst/winfsp-tests/wsl-test.c @@ -146,7 +146,9 @@ static void wsl_stat_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout) } else { - ASSERT(STATUS_INVALID_INFO_CLASS == Result); + ASSERT( + STATUS_INVALID_INFO_CLASS == Result || + STATUS_NOT_IMPLEMENTED == Result/* value returned under WOW64 */); FspDebugLog(__FUNCTION__ ": only works in Win10 with WSLinux\n"); }