summaryrefslogtreecommitdiff
path: root/tests/tail-2/inotify-hash-abuse
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/tail-2/inotify-hash-abuse
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/tail-2/inotify-hash-abuse')
-rwxr-xr-xtests/tail-2/inotify-hash-abuse4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tail-2/inotify-hash-abuse b/tests/tail-2/inotify-hash-abuse
index ee3a2a571..deec76d1b 100755
--- a/tests/tail-2/inotify-hash-abuse
+++ b/tests/tail-2/inotify-hash-abuse
@@ -41,14 +41,14 @@ tail_re='^x$' retry_delay_ check_tail_output .1 7 || fail=1
mv 1 f || fail=1
# Wait 6.3s for this diagnostic:
-# tail: `1' has become inaccessible: No such file or directory
+# tail: '1' has become inaccessible: No such file or directory
tail_re='inaccessible' retry_delay_ check_tail_output .1 7 || fail=1
# Trigger the bug. Before the fix, this would provoke the abort.
echo a > 1 || fail=1
# Wait up to 2s for the buggy tail to die,
-# or for the "tail: `1' has appeared; following end of new file" output
+# or for the "tail: '1' has appeared; following end of new file" output
for i in $(seq 10); do
kill -0 $pid || break
grep 'has appeared;' out > /dev/null && break