From b44df3a852e42a51b7b03b8c44c736dd89d1cfd9 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Tue, 27 May 2008 16:57:25 +0200 Subject: [PATCH] shell32/tests: Run tests again on win95. --- dlls/shell32/tests/shelllink.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dlls/shell32/tests/shelllink.c b/dlls/shell32/tests/shelllink.c index 27e8032c9a0..5cbd8bfcd71 100644 --- a/dlls/shell32/tests/shelllink.c +++ b/dlls/shell32/tests/shelllink.c @@ -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); + pGetLongPathNameA(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