summaryrefslogtreecommitdiff
path: root/tests/basename
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-06-21 15:04:54 +0000
committerJim Meyering <jim@meyering.net>2004-06-21 15:04:54 +0000
commit777a96db68395c6e09c1acb7cfe0edebe315ed86 (patch)
tree45e0168db28ebbed66570223eb32b95b0f7d68d7 /tests/basename
parent260a903a50ebb861b0ebec21aba5fc0759435b17 (diff)
downloadcoreutils-777a96db68395c6e09c1acb7cfe0edebe315ed86.tar.xz
Adjust to new diagnostics.
Diffstat (limited to 'tests/basename')
-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'}],