From e9438a87f6d04f3e0aedf80a9a31bf03faf89df2 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Mon, 22 Aug 2005 18:57:22 +0000 Subject: [PATCH] Add an extra test to show failing behavior. --- dlls/version/tests/info.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dlls/version/tests/info.c b/dlls/version/tests/info.c index e6ff509d70c..9e77177c01e 100644 --- a/dlls/version/tests/info.c +++ b/dlls/version/tests/info.c @@ -345,6 +345,11 @@ static void test_32bit_win(void) ok (retA, "VerQueryValueA failed: GetLastError = 0x%08lx\n", GetLastError()); ok( !lstrcmpA(WineFileDescriptionA, pBufA), "FileDescription should have been 'Wine version test'\n"); + /* Test a second time */ + retA = VerQueryValueA( pVersionInfoA, FileDescriptionA, (LPVOID *)&pBufA, &uiLengthA ); + ok (retA, "VerQueryValueA failed: GetLastError = 0x%08lx\n", GetLastError()); + todo_wine ok( !lstrcmpA(WineFileDescriptionA, pBufA), "FileDescription should have been 'Wine version test'\n"); + if (is_unicode_enabled) { retW = VerQueryValueW( pVersionInfoW, FileDescriptionW, (LPVOID *)&pBufW, &uiLengthW );