summaryrefslogtreecommitdiffstats
path: root/NPTest.pm
diff options
context:
space:
mode:
Diffstat (limited to 'NPTest.pm')
-rw-r--r--NPTest.pm5
1 files changed, 3 insertions, 2 deletions
diff --git a/NPTest.pm b/NPTest.pm
index 201bc6ae..8f20678b 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -88,7 +88,7 @@ typical tests we wish to perform are against the exit status of the
88command and the output (if any) it generated. Simplifying these tests 88command and the output (if any) it generated. Simplifying these tests
89into a single function call, makes the test harness easier to read and 89into a single function call, makes the test harness easier to read and
90maintain and allows additional functionality (such as debugging) to be 90maintain and allows additional functionality (such as debugging) to be
91provided withoutadditional effort on the part of the test harness 91provided without additional effort on the part of the test harness
92developer. 92developer.
93 93
94It is possible to enable debugging via the environment variable 94It is possible to enable debugging via the environment variable
@@ -264,6 +264,7 @@ sub checkCmd
264 if ( %exceptions && exists( $exceptions{$exitStatus} ) ) 264 if ( %exceptions && exists( $exceptions{$exitStatus} ) )
265 { 265 {
266 $testStatus += skip( $exceptions{$exitStatus}, $exitStatus, $desiredExitStatus ); 266 $testStatus += skip( $exceptions{$exitStatus}, $exitStatus, $desiredExitStatus );
267 $testOutput = "skip";
267 } 268 }
268 else 269 else
269 { 270 {
@@ -312,7 +313,7 @@ sub getTestParameter
312 313
313 if ( defined( $envvar ) && exists( $ENV{$envvar} ) && $ENV{$envvar} ) 314 if ( defined( $envvar ) && exists( $ENV{$envvar} ) && $ENV{$envvar} )
314 { 315 {
315 return $ENV{$envvar} 316 return $ENV{$envvar};
316 } 317 }
317 318
318 my $cachedValue = SearchCache( $param, $testharness ); 319 my $cachedValue = SearchCache( $param, $testharness );