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
9d00aeaf
Commit
9d00aeaf
authored
Mar 04, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Mar 05, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Show wrong behaviour with current directory.
parent
9e518dc7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
file.c
dlls/kernel32/tests/file.c
+26
-0
No files found.
dlls/kernel32/tests/file.c
View file @
9d00aeaf
...
...
@@ -1795,6 +1795,31 @@ static void test_overlapped(void)
ok
(
r
==
TRUE
,
"close handle failed
\n
"
);
}
static
void
test_RemoveDirectory
(
void
)
{
int
rc
;
char
directory
[]
=
"removeme"
;
rc
=
CreateDirectory
(
directory
,
NULL
);
ok
(
rc
,
"Createdirectory failed, gle=%d
\n
"
,
GetLastError
()
);
rc
=
SetCurrentDirectory
(
directory
);
ok
(
rc
,
"SetCurrentDirectory failed, gle=%d
\n
"
,
GetLastError
()
);
rc
=
RemoveDirectory
(
"."
);
todo_wine
{
ok
(
!
rc
,
"RemoveDirectory unexpectedly worked
\n
"
);
}
rc
=
SetCurrentDirectory
(
".."
);
ok
(
rc
,
"SetCurrentDirectory failed, gle=%d
\n
"
,
GetLastError
()
);
rc
=
RemoveDirectory
(
directory
);
todo_wine
{
ok
(
rc
,
"RemoveDirectory failed, gle=%d
\n
"
,
GetLastError
()
);
}
}
START_TEST
(
file
)
{
test__hread
(
);
...
...
@@ -1825,4 +1850,5 @@ START_TEST(file)
test_read_write
();
test_OpenFile
();
test_overlapped
();
test_RemoveDirectory
();
}
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