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
0d6415df
Commit
0d6415df
authored
Nov 18, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32/tests: Allow up to 2 seconds of difference in timestamps.
parent
812c5e1b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
file.c
dlls/kernel32/tests/file.c
+2
-2
No files found.
dlls/kernel32/tests/file.c
View file @
0d6415df
...
...
@@ -2113,12 +2113,12 @@ static void test_ReplaceFileA(void)
/* make sure that the backup has the old "replaced" filetime */
ret
=
GetFileTime
(
hBackupFile
,
NULL
,
NULL
,
&
ftBackup
);
ok
(
ret
,
"GetFileTime error (backup %d
\n
"
,
GetLastError
());
ok
(
check_file_time
(
&
ftBackup
,
&
ftReplaced
,
1
000000
),
"backup file has wrong filetime
\n
"
);
ok
(
check_file_time
(
&
ftBackup
,
&
ftReplaced
,
20
000000
),
"backup file has wrong filetime
\n
"
);
CloseHandle
(
hBackupFile
);
/* make sure that the "replaced" has the old replacement filetime */
ret
=
GetFileTime
(
hReplacedFile
,
NULL
,
NULL
,
&
ftReplaced
);
ok
(
ret
,
"GetFileTime error (backup %d
\n
"
,
GetLastError
());
ok
(
check_file_time
(
&
ftReplaced
,
&
ftReplacement
,
1
000000
),
ok
(
check_file_time
(
&
ftReplaced
,
&
ftReplacement
,
20
000000
),
"replaced file has wrong filetime %x%08x / %x%08x
\n
"
,
ftReplaced
.
dwHighDateTime
,
ftReplaced
.
dwLowDateTime
,
ftReplacement
.
dwHighDateTime
,
ftReplacement
.
dwLowDateTime
);
...
...
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