From d6e33edb5b38483b93cd8280cdf1c54d01de1687 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Wed, 27 Jun 2012 01:49:56 +0200 Subject: [PATCH] Only run testTLSDisabling if distribution actually has 10-disable-tls --- t/hook-tls.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/hook-tls.t b/t/hook-tls.t index ee2eb05..82252b3 100755 --- a/t/hook-tls.t +++ b/t/hook-tls.t @@ -34,7 +34,7 @@ foreach my $dir ( glob( "hooks/*" ) ) { my $dist = $1; - testTLSDisabling( $dist ) unless ( $dist =~ /(dapper|edgy|ubuntu|debian)/i ); + testTLSDisabling( $dist ) if -e "hooks/$dist/10-disable-tls"; } }