From af257d4bff6db02b7ce235961fcfe61960000a82 Mon Sep 17 00:00:00 2001 From: Bill Zissimopoulos Date: Thu, 21 Oct 2021 15:56:58 +0100 Subject: [PATCH] tst: winfsp-tests: eliminate use of symbol FILE_SUPPORTS_POSIX_UNLINK_RENAME --- tst/winfsp-tests/info-test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tst/winfsp-tests/info-test.c b/tst/winfsp-tests/info-test.c index 025c8f1f..11a6f3ba 100644 --- a/tst/winfsp-tests/info-test.c +++ b/tst/winfsp-tests/info-test.c @@ -1793,7 +1793,7 @@ static void rename_ex_dotest(ULONG Flags, PWSTR VolPrefix, PWSTR Prefix, ULONG F 0, 0, 0, 0, &FileSystemFlags, 0, 0); - if (!Success || 0 == (FileSystemFlags & FILE_SUPPORTS_POSIX_UNLINK_RENAME)) + if (!Success || 0 == (FileSystemFlags & 0x400/*FILE_SUPPORTS_POSIX_UNLINK_RENAME*/)) /* skip this test if the system lacks FILE_SUPPORTS_POSIX_UNLINK_RENAME capability */ return; @@ -1832,7 +1832,7 @@ static void rename_ex_dotest(ULONG Flags, PWSTR VolPrefix, PWSTR Prefix, ULONG F 0, 0, &FileSystemFlags, 0, 0); ASSERT(Success); - if (0 != (FileSystemFlags & FILE_SUPPORTS_POSIX_UNLINK_RENAME)) + if (0 != (FileSystemFlags & 0x400/*FILE_SUPPORTS_POSIX_UNLINK_RENAME*/)) { StringCbPrintfW(File0Path, sizeof File0Path, L"%s%s\\file0", Prefix ? L"" : L"\\\\?\\GLOBALROOT", Prefix ? Prefix : memfs_volumename(memfs));