mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:19:49 +00:00
shlwapi/tests: Don't create testfile at a fixed location.
This commit is contained in:
parent
48bc578c68
commit
c81c11f72d
1 changed files with 6 additions and 1 deletions
|
@ -384,10 +384,15 @@ static void test_SHCreateStreamOnFileEx(DWORD mode, DWORD stgm)
|
|||
IStream * template = NULL;
|
||||
HRESULT ret;
|
||||
ULONG refcount;
|
||||
static const WCHAR test_file[] = { 'c', ':', '\\', 't', 'e', 's', 't', '.', 't', 'x', 't', '\0' };
|
||||
WCHAR test_file[MAX_PATH];
|
||||
static const WCHAR testEx_txt[] = { '\\', 't', 'e', 's', 't', 'E','x', '.', 't', 'x', 't', '\0' };
|
||||
|
||||
trace("SHCreateStreamOnFileEx: testing mode %d, STGM flags %08x\n", mode, stgm);
|
||||
|
||||
/* Don't used a fixed path for the testEx.txt file */
|
||||
GetTempPathW(MAX_PATH, test_file);
|
||||
lstrcatW(test_file, testEx_txt);
|
||||
|
||||
/* invalid arguments */
|
||||
|
||||
stream = NULL;
|
||||
|
|
Loading…
Reference in a new issue