mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 18:47:07 +00:00
fsutil/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
18100a15a0
commit
9111ef38c8
|
@ -1,4 +1,3 @@
|
|||
EXTRADEFS = -DWINE_NO_LONG_TYPES
|
||||
TESTDLL = fsutil.exe
|
||||
IMPORTS = advapi32 user32
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ static void test_hardlink(void)
|
|||
FILE_ATTRIBUTE_NORMAL, NULL);
|
||||
ok(hfile != INVALID_HANDLE_VALUE, "failed to open the hardlink\n");
|
||||
boolrc = GetFileInformationByHandle(hfile, &info);
|
||||
ok(boolrc, "failed to get info about hardlink, error %#x\n", GetLastError());
|
||||
ok(boolrc, "failed to get info about hardlink, error %#lx\n", GetLastError());
|
||||
CloseHandle(hfile);
|
||||
|
||||
ok(info.nNumberOfLinks == 2, "our link is not a hardlink\n");
|
||||
|
@ -109,9 +109,9 @@ static void test_hardlink(void)
|
|||
ok(rc == 1, "fsutil didn't complain about nonexisting source file\n");
|
||||
|
||||
boolrc = DeleteFileA("link");
|
||||
ok(boolrc, "failed to delete the hardlink, error %#x\n", GetLastError());
|
||||
ok(boolrc, "failed to delete the hardlink, error %#lx\n", GetLastError());
|
||||
boolrc = DeleteFileA("file");
|
||||
ok(boolrc, "failed to delete the file, error %#x\n", GetLastError());
|
||||
ok(boolrc, "failed to delete the file, error %#lx\n", GetLastError());
|
||||
}
|
||||
|
||||
START_TEST(fsutil)
|
||||
|
|
Loading…
Reference in a new issue