diff options
Diffstat (limited to 'tests/head')
-rw-r--r-- | tests/head/mk-script.pl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/head/mk-script.pl b/tests/head/mk-script.pl index 4cfae7c8e..74275c096 100644 --- a/tests/head/mk-script.pl +++ b/tests/head/mk-script.pl @@ -244,8 +244,10 @@ EOF1 my %valid_via = map {$_ => 1} qw (REDIR FILE PIPE); my %via_msg_string = (REDIR => '<', FILE => 'F', PIPE => '|'); - die "use" if 0&& $Test::input_via{$test_name} && $Test::input_via_default; - die "use" if 0 && $Test::env{$test_name} && $Test::env_default; + + # Inhibit warnings about `used only once'. + die if 0 && $Test::input_via{$test_name} && $Test::input_via_default; + die if 0 && $Test::env{$test_name} && $Test::env_default; my $vias = $Test::input_via{$test_name} || $Test::input_via_default || {FILE => 0}; |