mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
Fix copy&paste error in Junction_Point tests.
This commit is contained in:
parent
9e6408add9
commit
e2f635a164
@ -1,17 +1,17 @@
|
||||
From 977778bf25a3f17303c0d00e3d1cdabbacf3ffa4 Mon Sep 17 00:00:00 2001
|
||||
From 01274ec39670388d65a84d63cffd249f9aea5e59 Mon Sep 17 00:00:00 2001
|
||||
From: "Erich E. Hoover" <erich.e.hoover@gmail.com>
|
||||
Date: Thu, 16 Jan 2014 21:06:24 -0700
|
||||
Subject: ntdll/tests: Add test for deleting junction point target.
|
||||
|
||||
---
|
||||
dlls/ntdll/tests/file.c | 11 +++++++++++
|
||||
1 file changed, 11 insertions(+)
|
||||
dlls/ntdll/tests/file.c | 9 +++++++++
|
||||
1 file changed, 9 insertions(+)
|
||||
|
||||
diff --git a/dlls/ntdll/tests/file.c b/dlls/ntdll/tests/file.c
|
||||
index 57e7fc1..0feda4a 100644
|
||||
index 3112081..be6b496 100644
|
||||
--- a/dlls/ntdll/tests/file.c
|
||||
+++ b/dlls/ntdll/tests/file.c
|
||||
@@ -2836,6 +2836,17 @@ static void test_junction_points(void)
|
||||
@@ -2836,6 +2836,15 @@ static void test_junction_points(void)
|
||||
ok(dwret != (DWORD)~0, "Junction point doesn't exist (attributes: 0x%x)!\n", dwret);
|
||||
ok(dwret & FILE_ATTRIBUTE_REPARSE_POINT, "File is not a junction point! (attributes: 0x%x)\n", dwret);
|
||||
|
||||
@ -21,8 +21,6 @@ index 57e7fc1..0feda4a 100644
|
||||
+ "Unexpected junction point attributes (0x%x != 0x410)!\n", dwret);
|
||||
+ bret = RemoveDirectoryW(target_path);
|
||||
+ ok(bret, "Failed to delete junction point target!\n");
|
||||
+ ok(dwret == 0x410 || broken(dwret == 0x430) /* win2k */,
|
||||
+ "Unexpected junction point attributes (0x%x != 0x410)!\n", dwret);
|
||||
+ bret = CreateDirectoryW(target_path, NULL);
|
||||
+ ok(bret, "Failed to create junction point target directory.\n");
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user