Skip to content

Commit ff4483b

Browse files
committed
Fix run_windows_tests.bat
1 parent 7b5786c commit ff4483b

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
@@ -73,7 +73,7 @@ cd /d %SRC_ROOT%
7373
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
7474
copy /y %BUILD_DIR%\crypto\crypto_corrupted.dll %BUILD_DIR%\crypto\crypto.dll || goto error
7575
%BUILD_DIR%\util\fipstools\test_fips.exe 2>nul
76-
if not errorlevel 1 (
76+
if %ERRORLEVEL% equ 0 (
7777
echo FIPS integrity negative test failed: test_fips should have failed with corrupted crypto.dll
7878
goto error
7979
)

0 commit comments

Comments
 (0)