summaryrefslogtreecommitdiff
path: root/tests/misc/sort-files0-from
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/sort-files0-from
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/sort-files0-from')
-rwxr-xr-xtests/misc/sort-files0-from6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/sort-files0-from b/tests/misc/sort-files0-from
index 80ad423ce..1b362ac45 100755
--- a/tests/misc/sort-files0-from
+++ b/tests/misc/sort-files0-from
@@ -43,7 +43,7 @@ my @Tests =
# input file name of '-'
['minus-in-stdin', '--files0-from=-', '<', {IN=>{f=>'-'}}, {EXIT=>2},
{ERR => "$prog: when reading file names from stdin, no file name of"
- . " `-' allowed\n"}],
+ . " '-' allowed\n"}],
# empty input, regular file
['empty', '--files0-from=@AUX@', {AUX=>''}, {EXIT=>2},
@@ -58,7 +58,7 @@ my @Tests =
{ERR => "$prog: -:1: invalid zero-length file name\n"}],
# two NULs
- # Note that the behavior here differs from `wc' in that the
+ # Note that the behavior here differs from 'wc' in that the
# first zero-length file name is treated as fatal, so there
# is only one line of diagnostic output.
['nul-2', '--files0-from=-', '<', {IN=>"\0\0"}, {EXIT=>2},
@@ -81,7 +81,7 @@ my @Tests =
{IN=>{f=>"g\0g\0"}}, {AUX=>{g=>'a'}}, {OUT=>"a\na\n"} ],
# Ensure that $prog does nothing when there is a zero-length filename.
- # Note that the behavior here differs from `wc' in that the
+ # Note that the behavior here differs from 'wc' in that the
# first zero-length file name is treated as fatal, so there
# should be no output on STDOUT.
['zero-len', '--files0-from=-', '<',