mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 07:15:09 +00:00
kernel32/tests: Test hard linking a file to a different casing of itself.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
b3553f0e5a
commit
01283ec6a6
|
@ -5790,6 +5790,11 @@ static void test_hard_link(void)
|
|||
ok(!ret, "expected failure\n");
|
||||
ok(GetLastError() == ERROR_ALREADY_EXISTS, "got error %u\n", GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = CreateHardLinkA( "WineTest_File1", "winetest_file1", NULL );
|
||||
ok(!ret, "expected failure\n");
|
||||
ok(GetLastError() == ERROR_ALREADY_EXISTS, "got error %u\n", GetLastError());
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
ret = CreateHardLinkA( "winetest_file3", "winetest_dir1", NULL );
|
||||
ok(!ret, "expected failure\n");
|
||||
|
|
Loading…
Reference in a new issue