Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
1c5043e7
Commit
1c5043e7
authored
Sep 21, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
Sep 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Add extra tests for SetCurrentDirectory.
parent
7cb7c144
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
path.c
dlls/kernel32/tests/path.c
+8
-0
No files found.
dlls/kernel32/tests/path.c
View file @
1c5043e7
...
@@ -465,6 +465,14 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir)
...
@@ -465,6 +465,14 @@ static void test_CurrentDirectoryA(CHAR *origdir, CHAR *newdir)
/* starting with a '.' */
/* starting with a '.' */
sprintf
(
tmpstr
,
".
\\
%s"
,
LONGDIR
);
sprintf
(
tmpstr
,
".
\\
%s"
,
LONGDIR
);
test_setdir
(
newdir
,
tmpstr
,
tmpstr1
,
1
,
"check 9"
);
test_setdir
(
newdir
,
tmpstr
,
tmpstr1
,
1
,
"check 9"
);
/* change to root without a trailing backslash. The function call succeeds
but the directory is not changed.
*/
strcpy
(
tmpstr
,
"C:"
);
test_setdir
(
newdir
,
tmpstr
,
newdir
,
1
,
"check 10"
);
/* works however with a trailing backslash */
strcpy
(
tmpstr
,
"C:
\\
"
);
test_setdir
(
newdir
,
tmpstr
,
NULL
,
1
,
"check 11"
);
}
}
/* Cleanup the mess we made while executing these tests */
/* Cleanup the mess we made while executing these tests */
...
...
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