Re: kernel32/tests : try2 added tests for copyfileex
11 Jan
2013
11 Jan
'13
4:03 a.m.
Patrick Rudolph <siro(a)das-labor.org> wrote:
try2: check the os version in case of PROGRESS_STOP
+ ret = GetFileAttributesEx(dest_name, GetFileExInfoStandard, (void*)&fileInfo); + + /* Windows Vista and newer delete the file, while prior versions don't */ + ok((!ret && info.dwMajorVersion > 5) || (ret && info.dwMajorVersion <= 5), + "GetFileAttributesEx return-value wrong, got %u and MajorVersion is %u\n", ret, info.dwMajorVersion);
Then you should mark old behaviour as broken() and don't check Windows version at all. -- Dmitry.
4722
Age (days ago)
4722
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dmitry Timoshkov -
siro@das-labor.org