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
b44df3a8
Commit
b44df3a8
authored
May 27, 2008
by
Paul Vriens
Committed by
Alexandre Julliard
May 27, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32/tests: Run tests again on win95.
parent
b8ad05a2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
shelllink.c
dlls/shell32/tests/shelllink.c
+7
-7
No files found.
dlls/shell32/tests/shelllink.c
View file @
b44df3a8
...
...
@@ -501,6 +501,12 @@ static void test_load_save(void)
HANDLE
hf
;
DWORD
r
;
if
(
!
pGetLongPathNameA
)
{
skip
(
"GetLongPathNameA is not available
\n
"
);
return
;
}
/* Save an empty .lnk file */
memset
(
&
desc
,
0
,
sizeof
(
desc
));
create_lnk
(
lnkfile
,
&
desc
,
0
);
...
...
@@ -534,7 +540,7 @@ static void test_load_save(void)
*
p
=
'\0'
;
/* IShellLink returns path in long form */
GetLongPathNameA
(
mypath
,
realpath
,
MAX_PATH
);
p
GetLongPathNameA
(
mypath
,
realpath
,
MAX_PATH
);
/* Overwrite the existing lnk file and point it to existing files */
desc
.
description
=
"test 2"
;
...
...
@@ -568,11 +574,6 @@ static void test_load_save(void)
/* Create a temporary non-executable file */
r
=
GetTempPath
(
sizeof
(
mypath
),
mypath
);
ok
(
r
<
sizeof
(
mypath
),
"GetTempPath failed (%d), err %d
\n
"
,
r
,
GetLastError
());
if
(
!
pGetLongPathNameA
)
{
skip
(
"GetLongPathNameA is not available
\n
"
);
goto
cleanup
;
}
r
=
pGetLongPathNameA
(
mypath
,
mydir
,
sizeof
(
mydir
));
ok
(
r
<
sizeof
(
mydir
),
"GetLongPathName failed (%d), err %d
\n
"
,
r
,
GetLastError
());
p
=
strrchr
(
mydir
,
'\\'
);
...
...
@@ -605,7 +606,6 @@ static void test_load_save(void)
* represented as a path.
*/
cleanup:
/* DeleteFileW is not implemented on Win9x */
r
=
DeleteFileA
(
"c:
\\
test.lnk"
);
ok
(
r
,
"failed to delete link (%d)
\n
"
,
GetLastError
());
...
...
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