summaryrefslogtreecommitdiff
path: root/tests/basename/basic
diff options
context:
space:
mode:
Diffstat (limited to 'tests/basename/basic')
-rwxr-xr-xtests/basename/basic4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/basename/basic b/tests/basename/basic
index e98e842b9..6f022df4c 100755
--- a/tests/basename/basic
+++ b/tests/basename/basic
@@ -24,9 +24,9 @@ my $prog = $ENV{PROG} || die "$0: \$PROG not specified in environment\n";
my @Tests =
(
- ['fail-1', {ERR => "$prog: too few arguments\n"
+ ['fail-1', {ERR => "$prog: missing operand\n"
. "Try `$prog --help' for more information.\n"}, {EXIT => '1'}],
- ['fail-2', qw(a a a), {ERR => "$prog: too many arguments\n"
+ ['fail-2', qw(a b c), {ERR => "$prog: extra operand `c'\n"
. "Try `$prog --help' for more information.\n"}, {EXIT => '1'}],
['a', qw(d/f), {OUT => 'f'}],