Skip to content

Commit 0bb36b2

Browse files
committed
Fix run_windows_tests.bat
1 parent 093e7da commit 0bb36b2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/ci/run_windows_tests.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ cd /d %SRC_ROOT%
7676
go run util/fipstools/break-hash.go -map %BUILD_DIR%\crypto\fips_crypto.map %BUILD_DIR%\crypto\crypto.dll %BUILD_DIR%\crypto\crypto_corrupted.dll || goto error
7777
copy /y %BUILD_DIR%\crypto\crypto_corrupted.dll %BUILD_DIR%\crypto\crypto.dll || goto error
7878
%BUILD_DIR%\util\fipstools\test_fips.exe 2>nul
79-
if not errorlevel 1 (
79+
if %ERRORLEVEL% equ 0 (
8080
echo FIPS integrity negative test failed: test_fips should have failed with corrupted crypto.dll
8181
goto error
8282
)

0 commit comments

Comments
 (0)