summaryrefslogtreecommitdiff
path: root/tests/misc/sort-debug-warn
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-debug-warn
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-debug-warn')
-rwxr-xr-xtests/misc/sort-debug-warn30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/misc/sort-debug-warn b/tests/misc/sort-debug-warn
index f7dea8c91..504a2d2bc 100755
--- a/tests/misc/sort-debug-warn
+++ b/tests/misc/sort-debug-warn
@@ -27,27 +27,27 @@ sort: key 1 has zero width and will be ignored
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
sort: using simple byte comparison
-sort: options `-bghMRrV' are ignored
+sort: options '-bghMRrV' are ignored
sort: using simple byte comparison
-sort: options `-bghMRV' are ignored
-sort: option `-r' only applies to last-resort comparison
+sort: options '-bghMRV' are ignored
+sort: option '-r' only applies to last-resort comparison
sort: using simple byte comparison
-sort: option `-r' only applies to last-resort comparison
+sort: option '-r' only applies to last-resort comparison
sort: using simple byte comparison
-sort: options `-bg' are ignored
+sort: options '-bg' are ignored
sort: using simple byte comparison
sort: using simple byte comparison
-sort: option `-b' is ignored
+sort: option '-b' is ignored
sort: using simple byte comparison
sort: using simple byte comparison
sort: using simple byte comparison
-sort: leading blanks are significant in key 1; consider also specifying `b'
+sort: leading blanks are significant in key 1; consider also specifying 'b'
sort: using simple byte comparison
-sort: leading blanks are significant in key 1; consider also specifying `b'
-sort: option `-d' is ignored
+sort: leading blanks are significant in key 1; consider also specifying 'b'
+sort: option '-d' is ignored
sort: using simple byte comparison
-sort: leading blanks are significant in key 1; consider also specifying `b'
-sort: option `-i' is ignored
+sort: leading blanks are significant in key 1; consider also specifying 'b'
+sort: option '-i' is ignored
sort: using simple byte comparison
sort: using simple byte comparison
sort: using simple byte comparison
@@ -76,11 +76,11 @@ compare exp out || fail=1
cat <<\EOF > exp
sort: using simple byte comparison
sort: key 1 is numeric and spans multiple fields
-sort: obsolescent key `+2 -1' used; consider `-k 3,1' instead
+sort: obsolescent key '+2 -1' used; consider '-k 3,1' instead
sort: key 2 has zero width and will be ignored
-sort: leading blanks are significant in key 2; consider also specifying `b'
-sort: option `-b' is ignored
-sort: option `-r' only applies to last-resort comparison
+sort: leading blanks are significant in key 2; consider also specifying 'b'
+sort: option '-b' is ignored
+sort: option '-r' only applies to last-resort comparison
EOF
sort --debug -rb -k2n +2.2 -1b /dev/null 2>out