Fix test_cmp_cli for extended tests
authorMatt Caswell <matt@openssl.org>
Wed, 29 Jul 2020 12:58:18 +0000 (13:58 +0100)
committerMatt Caswell <matt@openssl.org>
Thu, 30 Jul 2020 09:13:22 +0000 (10:13 +0100)
The test_cmp_cli was failing in the extended tests on cross-compiled
mingw builds. This was due to the test not using wine when it should do.
The simplest solution is to just skip the test in this case.

[extended tests]

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12555)

test/recipes/81-test_cmp_cli.t

index 009cdcc4d8daaf512d30a01816b3883f4e866d0d..51b4baf6a56142f053cc78c5d616fc1edc1d33b2 100644 (file)
@@ -34,6 +34,8 @@ plan skip_all => "These tests are not supported in a no-ec build"
 
 plan skip_all => "Tests involving CMP server not available on Windows or VMS"
     if $^O =~ /^(VMS|MSWin32)$/;
+plan skip_all => "Tests involving CMP server not available in cross-compile builds"
+    if defined $ENV{EXE_SHELL};
 plan skip_all => "Tests involving CMP server require 'kill' command"
     unless `which kill`;
 plan skip_all => "Tests involving CMP server require 'lsof' command"