Don't perform tsa tests if configured "no-ts"
[openssl.git] / test / recipes / 80-test_tsa.t
index 477de2db2ac815296a17a765ed3e7b326a9d481f..6785698c50dbc982c6ddac7324a3a20a453b3272 100644 (file)
@@ -7,9 +7,13 @@ use POSIX;
 use File::Spec::Functions qw/splitdir curdir catfile/;
 use File::Compare;
 use OpenSSL::Test qw/:DEFAULT cmdstr srctop_file/;
+use OpenSSL::Test::Utils;
 
 setup("test_tsa");
 
+plan skip_all => "TS is not supported by this OpenSSL build"
+    if disabled("ts");
+
 # All these are modified inside indir further down. They need to exist
 # here, however, to be available in all subroutines.
 my $testtsa;