Edit

kc3-lang/libressl/tests/ocsptest.bat

Branch :

  • Browse

    Commit

  • Author : Don
    Date : 2018-03-20 15:55:41
    Hash : 644c1097
    Message : Fix Windows tests within CMake

  • tests/ocsptest.bat
  • @echo off
    setlocal enabledelayedexpansion
    REM	ocspocsp_test_bin.bat
    
    set ocsp_test_bin=%1
    set ocsp_test_bin=%ocsp_test_bin:/=\%
    if not exist %ocsp_test_bin% exit /b 1
    
    %ocsp_test_bin% www.amazon.com 443 & if !errorlevel! neq 0 exit /b 1
    %ocsp_test_bin% cloudflare.com 443 & if !errorlevel! neq 0 exit /b 1
    
    endlocal