From 50610144b02763f5dd5f6198ceceb88c27c393aa Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 7 Jan 2012 17:43:50 +0100 Subject: tests: adjust \`...' quoting to '...' to adapt to latest gnulib Run this: git grep -l "\\\\\`[^']*'" tests \ |xargs perl -pi -e 's/\\\`(.*?'\'')/'\''$1/g --- tests/chmod/c-option | 2 +- tests/chmod/equal-x | 2 +- tests/chmod/no-x | 2 +- tests/chmod/thru-dangling | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/chmod') diff --git a/tests/chmod/c-option b/tests/chmod/c-option index 525c8cb3b..e2fbf0768 100755 --- a/tests/chmod/c-option +++ b/tests/chmod/c-option @@ -33,7 +33,7 @@ chmod -c g=rwx $file > empty || fail=1 test -s empty && fail=1 case "`cat out`" in - "mode of \`f' changed from 0744 "?rwxr--r--?" to 0774 "?rwxrwxr--?) ;; + "mode of 'f' changed from 0744 "?rwxr--r--?" to 0774 "?rwxrwxr--?) ;; *) cat out; fail=1 ;; esac diff --git a/tests/chmod/equal-x b/tests/chmod/equal-x index 76783ebee..e846fc3d1 100755 --- a/tests/chmod/equal-x +++ b/tests/chmod/equal-x @@ -27,7 +27,7 @@ for mode in =x =xX =Xx =x,=X =X,=x; do chmod a=r,$mode $file || fail=1 case "`ls -l $file`" in ---x--x---*) ;; - *) fail=1; echo "after \`chmod $mode $file':"; ls -l $file ;; + *) fail=1; echo "after 'chmod $mode $file':"; ls -l $file ;; esac done diff --git a/tests/chmod/no-x b/tests/chmod/no-x index 41ec75772..3a68eeaa9 100755 --- a/tests/chmod/no-x +++ b/tests/chmod/no-x @@ -41,7 +41,7 @@ sed "s/^$prog: cannot read directory /$prog: /" out > t && mv t out sed 's,d/no-x/y,d/no-x,' out > t && mv t out cat < exp -$prog: \`d/no-x': Permission denied +$prog: 'd/no-x': Permission denied EOF compare exp out || fail=1 diff --git a/tests/chmod/thru-dangling b/tests/chmod/thru-dangling index f8c02f552..78124009f 100755 --- a/tests/chmod/thru-dangling +++ b/tests/chmod/thru-dangling @@ -25,7 +25,7 @@ ln -s non-existent dangle || framework_failure_ # This operation cannot succeed since the symbolic link dangles. chmod 644 dangle 2> out && fail=1 -echo "chmod: cannot operate on dangling symlink \`dangle'" > exp +echo "chmod: cannot operate on dangling symlink 'dangle'" > exp compare exp out || fail=1 Exit $fail -- cgit v1.2.3-54-g00ecf