diff options
author | Sven Nierlein <sven@nierlein.de> | 2013-09-16 08:59:37 +0200 |
---|---|---|
committer | Sven Nierlein <sven@nierlein.de> | 2013-09-16 08:59:37 +0200 |
commit | 0b656ecd2f6539b0b43b945128e20d5c98ebbf6c (patch) | |
tree | 80808a174152456f77c15413b18c1d129273caad /NPTest.pm | |
parent | 095e2e5db52ff5ff60eb319099d047c7c060d800 (diff) | |
download | monitoring-plugins-0b656ecd2f6539b0b43b945128e20d5c98ebbf6c.tar.gz |
tests: don't skip utils test
Diffstat (limited to 'NPTest.pm')
-rw-r--r-- | NPTest.pm | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -559,12 +559,12 @@ sub TestsFrom { if ( $excludeIfAppMissing ) { - $application = basename( $filename, ".t" ); - if ( ! -e $application ) - { - print STDERR "No application (${application}) found for test harness (${filename})\n"; - next; - } + $application = basename( $filename, ".t" ); + if ( ! -e $application and ! -e $application.'.pm' ) + { + print STDERR "No application (${application}) found for test harness (${filename})\n"; + next; + } } push @tests, "${directory}/${filename}"; } |