81-test_cmp_cli.t: Disable CLI-based tests in case fuzzing is enabled
[oweals/openssl.git] / test / recipes / 81-test_cmp_cli.t
index 516aebc6aef7a0b3da73e0dd5ebed3c7e9b5fd26..8ddb3c2daf6e62125d381bfa1c9e6440fcf529ec 100644 (file)
@@ -20,10 +20,12 @@ use Data::Dumper; # for debugging purposes only
 
 setup("test_cmp_cli");
 
-plan skip_all => "This test is not supported in a no-cmp build"
+plan skip_all => "These tests are not supported in a no-cmp build"
     if disabled("cmp");
-plan skip_all => "This test is not supported in a no-ec build"
+plan skip_all => "These tests are not supported in a no-ec build"
     if disabled("ec");
+plan skip_all => "These tests are not supported in a fuzz build"
+    if !disabled("fuzz-libfuzzer") || !disabled("fuzz-afl");
 plan skip_all => "Tests involving server not available on Windows or VMS"
     if $^O =~ /^(VMS|MSWin32)$/;