summaryrefslogtreecommitdiff
path: root/tests/head
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1997-07-10 15:56:33 +0000
committerJim Meyering <jim@meyering.net>1997-07-10 15:56:33 +0000
commit990c0d0fad71019b1a18c15c2ff85433cb282b42 (patch)
treee4ab77b5b2aff225314aa61a1a1b6a8cb504ba57 /tests/head
parent9295c4fdcae5dfe12813d98ddecbfc1c5e41699b (diff)
downloadcoreutils-990c0d0fad71019b1a18c15c2ff85433cb282b42.tar.xz
Include $0 in `wrong number of elements...' message.
Diffstat (limited to 'tests/head')
-rw-r--r--tests/head/mk-script.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/head/mk-script.pl b/tests/head/mk-script.pl
index 34282f7eb..644519509 100644
--- a/tests/head/mk-script.pl
+++ b/tests/head/mk-script.pl
@@ -24,7 +24,7 @@ sub validate
{
my ($test_name, $flags, $in_spec, $expected, $e_ret_code, $rest) =
@$test_vector;
- die "wrong number of elements in test $test_name\n"
+ die "$0: wrong number of elements in test $test_name\n"
if (!defined $e_ret_code || defined $rest);
assert (!ref $test_name);
assert (!ref $flags);