Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
3e76eacb
Commit
3e76eacb
authored
Sep 02, 2008
by
James Hawkins
Committed by
Alexandre Julliard
Sep 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi: Fix a few failing tests in Vista.
parent
6b20075b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
path.c
dlls/shlwapi/tests/path.c
+9
-3
No files found.
dlls/shlwapi/tests/path.c
View file @
3e76eacb
...
...
@@ -891,7 +891,9 @@ static void test_PathCanonicalizeA(void)
res
=
PathCanonicalizeA
(
dest
,
"C:
\\
one/.
\\
two
\\
.."
);
ok
(
res
,
"Expected success
\n
"
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
ok
(
!
lstrcmp
(
dest
,
"C:
\\
one/."
),
"Expected C:
\\
one/., got %s
\n
"
,
dest
);
ok
(
!
lstrcmp
(
dest
,
"C:
\\
one/."
)
||
!
lstrcmp
(
dest
,
"C:
\\
one/"
),
/* Vista */
"Expected
\"
C:
\\
one/.
\"
or
\"
C:
\\
one/
\"
, got
\"
%s
\"\n
"
,
dest
);
/* try forward slashes with change dirs
* NOTE: if there is a forward slash in between two backslashes,
...
...
@@ -1013,7 +1015,9 @@ static void test_PathBuildRootA(void)
lstrcpy
(
path
,
"aaaaaaaaa"
);
root
=
PathBuildRootA
(
path
,
-
1
);
ok
(
root
==
path
,
"Expected root == path, got %p
\n
"
,
root
);
ok
(
!
lstrcmp
(
path
,
"aaaaaaaaa"
),
"Expected aaaaaaaaa, got %s
\n
"
,
path
);
ok
(
!
lstrcmp
(
path
,
"aaaaaaaaa"
)
||
lstrlenA
(
path
)
==
0
,
/* Vista */
"Expected aaaaaaaaa or empty string, got %s
\n
"
,
path
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
/* test a drive number greater than 25 */
...
...
@@ -1021,7 +1025,9 @@ static void test_PathBuildRootA(void)
lstrcpy
(
path
,
"aaaaaaaaa"
);
root
=
PathBuildRootA
(
path
,
26
);
ok
(
root
==
path
,
"Expected root == path, got %p
\n
"
,
root
);
ok
(
!
lstrcmp
(
path
,
"aaaaaaaaa"
),
"Expected aaaaaaaaa, got %s
\n
"
,
path
);
ok
(
!
lstrcmp
(
path
,
"aaaaaaaaa"
)
||
lstrlenA
(
path
)
==
0
,
/* Vista */
"Expected aaaaaaaaa or empty string, got %s
\n
"
,
path
);
ok
(
GetLastError
()
==
0xdeadbeef
,
"Expected 0xdeadbeef, got %d
\n
"
,
GetLastError
());
/* length of path is less than 4 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment