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/r-2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/rm/r-2') diff --git a/tests/rm/r-2 b/tests/rm/r-2 index 55c4807a0..0a588316b 100755 --- a/tests/rm/r-2 +++ b/tests/rm/r-2 @@ -26,10 +26,10 @@ mkdir t t/a t/a/b || framework_failure_ # FIXME: if this fails, it's a framework failure cat <<\EOF | sort > t/E || framework_failure_ -removed directory: `t/a' -removed directory: `t/a/b' -removed `t/a/b/g' -removed `t/a/f' +removed directory: 't/a' +removed directory: 't/a/b' +removed 't/a/b/g' +removed 't/a/f' EOF # Note that both the expected output (above) and the actual output lines -- cgit v1.2.3-70-g09d2