From dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 7 Jan 2012 17:47:58 +0100 Subject: 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' --- tests/rm/cycle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/rm/cycle') diff --git a/tests/rm/cycle b/tests/rm/cycle index 48e77c23e..5f1fb3a01 100755 --- a/tests/rm/cycle +++ b/tests/rm/cycle @@ -27,8 +27,8 @@ chmod u-w a/b rm -rf a a 2>&1 | sed 's/:[^:]*$//' > out || fail=1 cat <<\EOF > exp -rm: cannot remove `a/b/file' -rm: cannot remove `a/b/file' +rm: cannot remove 'a/b/file' +rm: cannot remove 'a/b/file' EOF compare exp out || fail=1 -- cgit v1.2.3-70-g09d2