aboutsummaryrefslogtreecommitdiff
path: root/tests/ocsptest.bat
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ocsptest.bat11
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
2setlocal enabledelayedexpansion 2setlocal enabledelayedexpansion
3REM ocsptest.bat 3REM ocspocsp_test_bin.bat
4 4
5set TEST=Debug\ocsp_test.exe 5set ocsp_test_bin=%1
6if not exist %TEST% exit /b 1 6set ocsp_test_bin=%ocsp_test_bin:/=\%
7if 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
11endlocal 12endlocal