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/chgrp/basic | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/chgrp/basic') diff --git a/tests/chgrp/basic b/tests/chgrp/basic index 4279d65a2..0cf0bca84 100755 --- a/tests/chgrp/basic +++ b/tests/chgrp/basic @@ -66,7 +66,7 @@ chown --from=:$g1 :$g2 f; test `stat --printf=%g f` = $g2 || fail=1 # This *should* change the group of f. # Though note that the diagnostic is misleading in that -# it says the `group of `symlink'' has been changed. +# it says the 'group of `symlink'' has been changed. chgrp $g1 symlink; test `stat --printf=%g f` = $g1 || fail=1 chown --from=:$g1 :$g2 f; test `stat --printf=%g f` = $g2 || fail=1 -- cgit v1.2.3-54-g00ecf