mirror of
https://github.com/reactos/wine.git
synced 2025-01-31 00:53:00 +00:00
shell32/tests: Ensure that tmpdir contains long path name.
This commit is contained in:
parent
1e7116ca9f
commit
cf2098cf2d
@ -2540,6 +2540,7 @@ static void init_test(void)
|
||||
|
||||
GetTempPathA(sizeof(filename), filename);
|
||||
GetTempFileNameA(filename, "wt", 0, tmpdir);
|
||||
GetLongPathNameA(tmpdir, tmpdir, sizeof(tmpdir));
|
||||
DeleteFileA( tmpdir );
|
||||
rc = CreateDirectoryA( tmpdir, NULL );
|
||||
ok( rc, "failed to create %s err %u\n", tmpdir, GetLastError() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user