tst: winfsp-tests: wsl: fix WOW64 failure

This commit is contained in:
Bill Zissimopoulos 2019-04-17 15:04:53 -07:00
parent c6b7b7586e
commit 859d4250c3

View File

@ -146,7 +146,9 @@ static void wsl_stat_dotest(ULONG Flags, PWSTR Prefix, ULONG FileInfoTimeout)
} }
else 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"); FspDebugLog(__FUNCTION__ ": only works in Win10 with WSLinux\n");
} }