diff options
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/du/files0-from | 2 | ||||
-rwxr-xr-x | tests/ls/time-style-diag | 2 | ||||
-rwxr-xr-x | tests/misc/basename | 4 | ||||
-rwxr-xr-x | tests/misc/comm | 6 | ||||
-rwxr-xr-x | tests/misc/cut | 2 | ||||
-rwxr-xr-x | tests/misc/dirname | 4 | ||||
-rwxr-xr-x | tests/misc/expr | 2 | ||||
-rwxr-xr-x | tests/misc/factor | 2 | ||||
-rwxr-xr-x | tests/misc/fmt | 2 | ||||
-rwxr-xr-x | tests/misc/invalid-opt | 2 | ||||
-rwxr-xr-x | tests/misc/mktemp | 4 | ||||
-rwxr-xr-x | tests/misc/printf-cov | 2 | ||||
-rwxr-xr-x | tests/misc/seq | 2 | ||||
-rwxr-xr-x | tests/misc/sort-files0-from | 2 | ||||
-rwxr-xr-x | tests/misc/tsort | 2 | ||||
-rwxr-xr-x | tests/misc/uniq | 2 | ||||
-rwxr-xr-x | tests/misc/wc-files0-from | 2 | ||||
-rwxr-xr-x | tests/mv/diag | 4 |
18 files changed, 24 insertions, 24 deletions
diff --git a/tests/du/files0-from b/tests/du/files0-from index d6175407a..fb25c3f0f 100755 --- a/tests/du/files0-from +++ b/tests/du/files0-from @@ -32,7 +32,7 @@ my @Tests = ['f-extra-arg', '--files0-from=- no-such', {IN=>"a"}, {EXIT=>1}, {ERR => "$prog: extra operand `no-such'\n" . "file operands cannot be combined with --files0-from\n" - . "Try `$prog --help' for more information.\n"} + . "Try '$prog --help' for more information.\n"} ], # missing input file diff --git a/tests/ls/time-style-diag b/tests/ls/time-style-diag index 00a0c2068..ba8c1c88a 100755 --- a/tests/ls/time-style-diag +++ b/tests/ls/time-style-diag @@ -30,7 +30,7 @@ Valid arguments are: - [posix-]iso - [posix-]locale - +FORMAT (e.g., +%H:%M) for a `date'-style format -Try `ls --help' for more information. +Try 'ls --help' for more information. EOF compare exp err || fail=1 diff --git a/tests/misc/basename b/tests/misc/basename index 9006e604e..6bd5e4019 100755 --- a/tests/misc/basename +++ b/tests/misc/basename @@ -33,9 +33,9 @@ my $prog = 'basename'; 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 c), {ERR => "$prog: extra operand `c'\n" - . "Try `$prog --help' for more information.\n"}, {EXIT => '1'}], + . "Try '$prog --help' for more information.\n"}, {EXIT => '1'}], ['a', qw(d/f), {OUT => 'f'}], ['b', qw(/d/f), {OUT => 'f'}], diff --git a/tests/misc/comm b/tests/misc/comm index ed567403e..c727f80fc 100755 --- a/tests/misc/comm +++ b/tests/misc/comm @@ -58,17 +58,17 @@ my @Tests = # invalid missing command line argument (1) ['missing-arg1', $inputs[0], {EXIT=>1}, {ERR => "$prog: missing operand after `a'\n" - . "Try `$prog --help' for more information.\n"}], + . "Try '$prog --help' for more information.\n"}], # invalid missing command line argument (both) ['missing-arg2', {EXIT=>1}, {ERR => "$prog: missing operand\n" - . "Try `$prog --help' for more information.\n"}], + . "Try '$prog --help' for more information.\n"}], # invalid extra command line argument ['extra-arg', @inputs, 'no-such', {EXIT=>1}, {ERR => "$prog: extra operand `no-such'\n" - . "Try `$prog --help' for more information.\n"}], + . "Try '$prog --help' for more information.\n"}], # out-of-order input ['ooo', {IN=>{a=>"1\n3"}}, {IN=>{b=>"3\n2"}}, {EXIT=>1}, diff --git a/tests/misc/cut b/tests/misc/cut index 0114d6545..8c3676ef0 100755 --- a/tests/misc/cut +++ b/tests/misc/cut @@ -28,7 +28,7 @@ my $mb_locale = $ENV{LOCALE_FR_UTF8}; and $mb_locale = 'C'; my $prog = 'cut'; -my $try = "Try \`$prog --help' for more information.\n"; +my $try = "Try '$prog --help' for more information.\n"; my $from_1 = "$prog: fields and positions are numbered from 1\n$try"; my $inval = "$prog: invalid byte or field list\n$try"; my $no_endpoint = "$prog: invalid range with no endpoint: -\n$try"; 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'}], diff --git a/tests/misc/expr b/tests/misc/expr index 9cc1f9d4f..be757e2c6 100755 --- a/tests/misc/expr +++ b/tests/misc/expr @@ -159,7 +159,7 @@ my @Tests = ['fail-b', '9 9', {ERR => "$prog: syntax error\n"}, {EXIT => 2}], ['fail-c', {ERR => "$prog: missing operand\n" - . "Try `$prog --help' for more information.\n"}, + . "Try '$prog --help' for more information.\n"}, {EXIT => 2}], ['bignum-add', "$big + 1", {OUT => $big_p1}], diff --git a/tests/misc/factor b/tests/misc/factor index 6c11c70ab..71f850ae4 100755 --- a/tests/misc/factor +++ b/tests/misc/factor @@ -59,7 +59,7 @@ my @Tests = ['z', '-1', {ERR_SUBST => q!s/'1'/1/!}, # map newer glibc diagnostic to expected. {ERR => "$prog: invalid option -- 1\n" - . "Try `$prog --help' for more information.\n"}, + . "Try '$prog --help' for more information.\n"}, {EXIT => 1}], ['cont', 'a 4', {OUT => "4: 2 2\n"}, diff --git a/tests/misc/fmt b/tests/misc/fmt index 29858fe59..ef10e8274 100755 --- a/tests/misc/fmt +++ b/tests/misc/fmt @@ -37,7 +37,7 @@ my @Tests = ['obs-1', '-c -72', {ERR => "fmt: invalid option -- 7; -WIDTH is recognized only when it" . " is the first\noption; use -w N instead\n" - . "Try `fmt --help' for more information.\n" }, {EXIT => 1}], + . "Try 'fmt --help' for more information.\n" }, {EXIT => 1}], # With --prefix=P, do not remove leading space on lines without the prefix. ['pfx-1', qw (-p '>'), diff --git a/tests/misc/invalid-opt b/tests/misc/invalid-opt index 68e61df8e..8eae3c275 100755 --- a/tests/misc/invalid-opt +++ b/tests/misc/invalid-opt @@ -65,7 +65,7 @@ foreach my $prog (@built_programs) $prog eq '[' and next; - my $try = "Try \`$prog --help' for more information.\n"; + my $try = "Try '$prog --help' for more information.\n"; my $x = $exit_status{$prog}; defined $x or $x = 1; diff --git a/tests/misc/mktemp b/tests/misc/mktemp index 1bef533db..40bbe5100 100755 --- a/tests/misc/mktemp +++ b/tests/misc/mktemp @@ -57,7 +57,7 @@ my @Tests = # ['too-many', 'a b', {ERR=>"$prog: too many templates\n" - . "Try `$prog --help' for more information.\n"}, {EXIT => 1} ], + . "Try '$prog --help' for more information.\n"}, {EXIT => 1} ], ['too-many-q', '-q a b', {EXIT => 1} ], ['too-few-x', 'foo.XX', {EXIT => 1}, @@ -164,7 +164,7 @@ my @Tests = ['suffix9f', 'aXXXX --suffix=b', {EXIT=>1}, {ENV=>"POSIXLY_CORRECT=1"}, {ERR=>"$prog: too many templates\n" - . "Try `$prog --help' for more information.\n"}], + . "Try '$prog --help' for more information.\n"}], ['suffix10f', 'aXXb', {EXIT => 1}, {ERR=>"$prog: too few X's in template `aXXb'\n"}], diff --git a/tests/misc/printf-cov b/tests/misc/printf-cov index 892cb0199..c3a6861d6 100755 --- a/tests/misc/printf-cov +++ b/tests/misc/printf-cov @@ -19,7 +19,7 @@ use strict; my $prog = 'printf'; -my $try = "Try \`$prog --help' for more information.\n"; +my $try = "Try '$prog --help' for more information.\n"; my $pow_2_31 = 2**31; # Turn off localization of executable's output. diff --git a/tests/misc/seq b/tests/misc/seq index dabdccf4e..05770b0da 100755 --- a/tests/misc/seq +++ b/tests/misc/seq @@ -24,7 +24,7 @@ use strict; @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; my $prog = 'seq'; -my $try_help = "Try `$prog --help' for more information.\n"; +my $try_help = "Try '$prog --help' for more information.\n"; my $locale = $ENV{LOCALE_FR_UTF8}; ! defined $locale || $locale eq 'none' diff --git a/tests/misc/sort-files0-from b/tests/misc/sort-files0-from index ebabae362..80ad423ce 100755 --- a/tests/misc/sort-files0-from +++ b/tests/misc/sort-files0-from @@ -32,7 +32,7 @@ my @Tests = ['f-extra-arg', '--files0-from=- no-such', {IN=>"a"}, {EXIT=>2}, {ERR => "$prog: extra operand `no-such'\n" . "file operands cannot be combined with --files0-from\n" - . "Try `$prog --help' for more information.\n"} + . "Try '$prog --help' for more information.\n"} ], # missing input file diff --git a/tests/misc/tsort b/tests/misc/tsort index 0bc2a2ca2..88fcec50a 100755 --- a/tests/misc/tsort +++ b/tests/misc/tsort @@ -55,7 +55,7 @@ my @Tests = ['only-one', {IN => {f => ""}}, {IN => {g => ""}}, {EXIT => 1}, {ERR => "tsort: extra operand `g'\n" - . "Try `tsort --help' for more information.\n"}], + . "Try 'tsort --help' for more information.\n"}], ); my $save_temps = $ENV{DEBUG}; diff --git a/tests/misc/uniq b/tests/misc/uniq index 5083be559..84e1c48e5 100755 --- a/tests/misc/uniq +++ b/tests/misc/uniq @@ -21,7 +21,7 @@ use strict; my $limits = getlimits (); my $prog = 'uniq'; -my $try = "Try \`$prog --help' for more information.\n"; +my $try = "Try '$prog --help' for more information.\n"; # Turn off localization of executable's output. @ENV{qw(LANGUAGE LANG LC_ALL)} = ('C') x 3; diff --git a/tests/misc/wc-files0-from b/tests/misc/wc-files0-from index 4d21b7bf4..ac2211345 100755 --- a/tests/misc/wc-files0-from +++ b/tests/misc/wc-files0-from @@ -32,7 +32,7 @@ my @Tests = ['f-extra-arg', '--files0-from=- no-such', {IN=>"a"}, {EXIT=>1}, {ERR => "$prog: extra operand `no-such'\n" . "file operands cannot be combined with --files0-from\n" - . "Try `$prog --help' for more information.\n"} + . "Try '$prog --help' for more information.\n"} ], # missing input file diff --git a/tests/mv/diag b/tests/mv/diag index f30ba92ad..c8ba7f3e7 100755 --- a/tests/mv/diag +++ b/tests/mv/diag @@ -36,9 +36,9 @@ mv --target=f2 f1 >> out 2>&1 && fail=1 cat > exp <<\EOF mv: missing file operand -Try `mv --help' for more information. +Try 'mv --help' for more information. mv: missing destination file operand after `no-file' -Try `mv --help' for more information. +Try 'mv --help' for more information. mv: target `f1' is not a directory mv: target `f2' is not a directory EOF |