[nagiosplug] tests: don't skip utils test
"Nagios Plugin Development" <[email protected]> Mon, 16 Sep 2013 09:50:19 +0000
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module: nagiosplug Branch: master Commit: 0b656ecd2f6539b0b43b945128e20d5c98ebbf6c Author: Sven Nierlein <[email protected]> Date: Mon Sep 16 08:59:37 2013 +0200 URL: http://nagiosplug.git.sf.net/git/gitweb.cgi?p=nagiosplug/nagiosplug;a=commit;h=0b656ec tests: don't skip utils test --- NPTest.pm | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/NPTest.pm b/NPTest.pm index f14657c..0713b5e 100644 --- a/NPTest.pm +++ b/NPTest.pm @@ -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}"; } ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk