diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ocsptest.bat | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/ocsptest.bat b/tests/ocsptest.bat index fa0ae42..2b6b66b 100644 --- a/tests/ocsptest.bat +++ b/tests/ocsptest.bat | |||
@@ -1,11 +1,12 @@ | |||
1 | @echo off | 1 | @echo off |
2 | setlocal enabledelayedexpansion | 2 | setlocal enabledelayedexpansion |
3 | REM ocsptest.bat | 3 | REM ocspocsp_test_bin.bat |
4 | 4 | ||
5 | set TEST=Debug\ocsp_test.exe | 5 | set ocsp_test_bin=%1 |
6 | if not exist %TEST% exit /b 1 | 6 | set ocsp_test_bin=%ocsp_test_bin:/=\% |
7 | if not exist %ocsp_test_bin% exit /b 1 | ||
7 | 8 | ||
8 | %TEST% www.amazon.com 443 & if !errorlevel! neq 0 exit /b 1 | 9 | %ocsp_test_bin% www.amazon.com 443 & if !errorlevel! neq 0 exit /b 1 |
9 | %TEST% cloudflare.com 443 & if !errorlevel! neq 0 exit /b 1 | 10 | %ocsp_test_bin% cloudflare.com 443 & if !errorlevel! neq 0 exit /b 1 |
10 | 11 | ||
11 | endlocal | 12 | endlocal |