diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:18:14 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:18:14 +0100 |
commit | 8ac05f82a263364310dc9d8bfd734c478c03fbdd (patch) | |
tree | a9254f40733a0b932f52d463cfd49c8a43946e19 /tests/misc/dirname | |
parent | 101d1203c667ec3ab54a026dde43117563d4e944 (diff) | |
download | coreutils-8ac05f82a263364310dc9d8bfd734c478c03fbdd.tar.xz |
maint: update quoting of "Try `prog --help'" to "Try 'prog --help'"
Automatically adjust both the source (now in only one place)
and all tests that expect the resulting output via this:
git grep -l 'Try.*--help' src/system.h tests \
| xargs perl -pi -e 's/Try \\?`(\S+ --help)/Try '\''$1/'
Diffstat (limited to 'tests/misc/dirname')
-rwxr-xr-x | tests/misc/dirname | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/misc/dirname b/tests/misc/dirname index 2e6c8cc02..5934b25c7 100755 --- a/tests/misc/dirname +++ b/tests/misc/dirname @@ -34,9 +34,9 @@ my $prog = 'dirname'; my @Tests = ( ['fail-1', {ERR => "$prog: missing operand\n" - . "Try `$prog --help' for more information.\n"}, {EXIT => '1'}], + . "Try '$prog --help' for more information.\n"}, {EXIT => '1'}], ['fail-2', qw(a b), {ERR => "$prog: extra operand `b'\n" - . "Try `$prog --help' for more information.\n"}, {EXIT => '1'}], + . "Try '$prog --help' for more information.\n"}, {EXIT => '1'}], ['a', qw(d/f), {OUT => 'd'}], ['b', qw(/d/f), {OUT => '/d'}], |