From 2eab5a3039cff3a8adc5f9510df87452ce56dd2a Mon Sep 17 00:00:00 2001 From: Ladislav Zezula Date: Wed, 7 Jun 2023 19:56:08 +0200 Subject: Version incremented --- test/StormTest.cpp | 2 +- test/stormlib-test-001.txt | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'test') diff --git a/test/StormTest.cpp b/test/StormTest.cpp index 249cc80..a65430d 100755 --- a/test/StormTest.cpp +++ b/test/StormTest.cpp @@ -2655,7 +2655,7 @@ static DWORD TestOpenArchive( } // Reset error code, if the failure is expected - if((dwErrCode != ERROR_SUCCESS) && (hMpq == NULL) && (dwFlags & TFLG_WILL_FAIL)) + if((dwErrCode != ERROR_SUCCESS || hMpq == NULL) && (dwFlags & TFLG_WILL_FAIL)) SetLastError(dwErrCode = ERROR_SUCCESS); // Cleanup and exit diff --git a/test/stormlib-test-001.txt b/test/stormlib-test-001.txt index f35c06f..d69a56e 100644 --- a/test/stormlib-test-001.txt +++ b/test/stormlib-test-001.txt @@ -1,7 +1,3 @@ -Microsoft Windows [Version 10.0.19045.2965] -(c) Microsoft Corporation. All rights reserved. - -E:\Ladik\AppDir\StormLib\bin\StormLib_test\x64\Release>StormLib_test.exe ==== Test Suite for StormLib version 9.24 ==== InitWorkFolder: Work directory \Multimedia\MPQs (default) TestLiFiSearch (FLAT-MAP:ListFile_Blizzard.txt) succeeded. @@ -138,5 +134,3 @@ ListFilePos (StormLibTest_ListFilePos.mpq) succeeded. TestBigArchive (StormLibTest_BigArchive_v4.mpq) succeeded. TestModifyMpq (MPQ_2014_v4_Base.StormReplay) succeeded. TestModifyMpq (MPQ_2022_v1_v4.329.w3x) succeeded. - -E:\Ladik\AppDir\StormLib\bin\StormLib_test\x64\Release> \ No newline at end of file -- cgit v1.2.3