Hello, Summary: fix test case execution on Windows so that all the tests will be run.
Additional data: 1) Operating systems affected: all versions of Windows. 2) OpenSSL versions affected: all versions running on Windows. Thank you, Gunnar Kudrjavets
>From 3a27a5e98f883034c0d61928f6e71f364fcc024a Mon Sep 17 00:00:00 2001 From: Gunnar Kudrjavets <[email protected]> Date: Fri, 1 May 2015 13:07:20 -0700 Subject: [PATCH] Fix test execution on Windows Currently running tests on Windows is broken because '.\ms\testss.bat' references 'certCA.srl' instead of '..\ms\certCA.srl'. Given that the working directory during test execution is not 'ms' then this means that not all the tests will be executed. The fix is trivial. We just copy the file from '..\ms\'. Referencing it directly would cause the contents to change which will mark the file as modified every time test cases will be executed. If everything goes well then after running 'nmake -f ms\ntdll.mak test' one should see 'passed all tests' in the output. --- ms/testss.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ms/testss.bat b/ms/testss.bat index 5afa131..291532d 100755 --- a/ms/testss.bat +++ b/ms/testss.bat @@ -48,6 +48,9 @@ if errorlevel 1 goto e_req_gen echo -- echo sign certificate request with the just created CA via 'x509' +rem The serial number file is not in the current directory. Need to copy it +rem from the source location so that the next test will pass. +copy /y ..\ms\%CAserial% . %x509cmd% -CAcreateserial -in %Ureq% -days 30 -req -out %Ucert% -CA %CAcert% -CAkey %CAkey% -CAserial %CAserial% if errorlevel 1 goto e_x_sign -- 1.9.5.msysgit.1
_______________________________________________ openssl-dev mailing list To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-dev
