summaryrefslogtreecommitdiffstats
path: root/NPTest.pm
diff options
context:
space:
mode:
Diffstat (limited to 'NPTest.pm')
-rw-r--r--NPTest.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/NPTest.pm b/NPTest.pm
index 4036a9d0..7ecf7439 100644
--- a/NPTest.pm
+++ b/NPTest.pm
@@ -46,6 +46,8 @@ default via the C<use NPTest;> statement.
46 46
47=item getTestParameter( "ENV_VARIABLE", $brief_description, $default ) 47=item getTestParameter( "ENV_VARIABLE", $brief_description, $default )
48 48
49$default is optional.
50
49This function allows the test harness 51This function allows the test harness
50developer to interactively request test parameter information from the 52developer to interactively request test parameter information from the
51user. The user can accept the developer's default value or reply "none" 53user. The user can accept the developer's default value or reply "none"
@@ -302,7 +304,7 @@ sub getTestParameter
302{ 304{
303 my( $param, $envvar, $default, $brief, $scoped ); 305 my( $param, $envvar, $default, $brief, $scoped );
304 my $new_style; 306 my $new_style;
305 if (scalar @_ == 3) { 307 if (scalar @_ <= 3) {
306 ($param, $brief, $default) = @_; 308 ($param, $brief, $default) = @_;
307 $envvar = $param; 309 $envvar = $param;
308 $new_style = 1; 310 $new_style = 1;