summaryrefslogtreecommitdiff
path: root/tests/misc/stty
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/stty
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/stty')
-rwxr-xr-xtests/misc/stty6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/misc/stty b/tests/misc/stty
index 689fb8d37..c2999417c 100755
--- a/tests/misc/stty
+++ b/tests/misc/stty
@@ -56,9 +56,9 @@ stty -raw -a 2>/dev/null && fail=1
sed_del='/^speed/d;/^rows/d;/^columns/d;/ = /d'
options=`stty -a | tr -s ';' '\n' | sed "s/^ //;$sed_del;s/-//g"`
-# Take them one at a time, with and without the leading `-'.
+# Take them one at a time, with and without the leading '-'.
for opt in $options; do
- # `stty parenb' and `stty -parenb' fail with this message
+ # 'stty parenb' and 'stty -parenb' fail with this message
# stty: standard input: unable to perform all requested operations
# on Linux 2.2.0-pre4 kernels. Also since around Linux 2.6.30
# other serial control settings give the same error. So skip them.
@@ -68,7 +68,7 @@ for opt in $options; do
stty $opt || fail=1
- # Likewise, `stty -cread' would fail, so skip that, too.
+ # Likewise, 'stty -cread' would fail, so skip that, too.
test $opt = cread && continue
rev=`eval echo "\\\$REV_$opt"`
if test -n "$rev"; then