diff --git a/NPTest.pm b/NPTest.pm
index 201bc6ae7102bd942f438bfecc58eba8d4ddd4f5..8f20678b5f8dab2f860d7efeb362e1da2a176d0a 100644 (file)
--- a/NPTest.pm
+++ b/NPTest.pm
command and the output (if any) it generated. Simplifying these tests
into a single function call, makes the test harness easier to read and
maintain and allows additional functionality (such as debugging) to be
-provided withoutadditional effort on the part of the test harness
+provided without additional effort on the part of the test harness
developer.
It is possible to enable debugging via the environment variable
if ( %exceptions && exists( $exceptions{$exitStatus} ) )
{
$testStatus += skip( $exceptions{$exitStatus}, $exitStatus, $desiredExitStatus );
+ $testOutput = "skip";
}
else
{
if ( defined( $envvar ) && exists( $ENV{$envvar} ) && $ENV{$envvar} )
{
- return $ENV{$envvar}
+ return $ENV{$envvar};
}
my $cachedValue = SearchCache( $param, $testharness );