summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/cut/mk-script.pl2
-rw-r--r--tests/head/mk-script.pl2
-rw-r--r--tests/join/mk-script.pl2
-rw-r--r--tests/ls/mk-script.pl2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/cut/mk-script.pl b/tests/cut/mk-script.pl
index 34282f7eb..644519509 100644
--- a/tests/cut/mk-script.pl
+++ b/tests/cut/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);
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);
diff --git a/tests/join/mk-script.pl b/tests/join/mk-script.pl
index 34282f7eb..644519509 100644
--- a/tests/join/mk-script.pl
+++ b/tests/join/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);
diff --git a/tests/ls/mk-script.pl b/tests/ls/mk-script.pl
index 34282f7eb..644519509 100644
--- a/tests/ls/mk-script.pl
+++ b/tests/ls/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);