summaryrefslogtreecommitdiff
path: root/tests/misc/expr
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-07 17:47:58 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:50:08 +0100
commitdd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2 (patch)
tree5194ff517669cfb08a3ba329658b45870ab063bd /tests/misc/expr
parent50610144b02763f5dd5f6198ceceb88c27c393aa (diff)
downloadcoreutils-dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2.tar.xz
tests: change `...' to '...' on lines not matching /[=\$]/
Exempt lines with '$' or '=', since those are prone to improper conversion. Run this: git grep -l "\`[^']*'" tests \ |xargs perl -pi -e '/[=\$]/ and next;s/\`([^'\''"]*?'\'')/'\''$1/g'
Diffstat (limited to 'tests/misc/expr')
-rwxr-xr-xtests/misc/expr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/expr b/tests/misc/expr
index be757e2c6..556822848 100755
--- a/tests/misc/expr
+++ b/tests/misc/expr
@@ -54,7 +54,7 @@ my @Tests =
['paren4', '9 / \( \( 100 % 6 \) - 8 \)', {OUT => '-2'}],
['paren5', '9 + \( 100 % 6 \)', {OUT => '13'}],
- # Before 2.0.12, this would output `1'.
+ # Before 2.0.12, this would output '1'.
['0bang', '00 \< 0!', {OUT => '0'}, {EXIT => 1}],
# In 5.1.3 and earlier, these would exit with status 0.
@@ -69,7 +69,7 @@ my @Tests =
['orempty', '"" \| ""', {OUT => '0'}, {EXIT => 1}],
- # This erroneously succeeded and output `3' before 2.0.12.
+ # This erroneously succeeded and output '3' before 2.0.12.
['fail-a', '3 + -', {ERR => "$prog: non-integer argument\n"},
{EXIT => 2}],
@@ -174,7 +174,7 @@ my @Tests =
`expr $big_prod '*' $big_prod '*' $big_prod`
or @Tests = grep {$_->[0] !~ /^bignum-/} @Tests;
-# Append a newline to end of each expected `OUT' string.
+# Append a newline to end of each expected 'OUT' string.
my $t;
foreach $t (@Tests)
{