diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:43:50 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 21:50:08 +0100 |
commit | 50610144b02763f5dd5f6198ceceb88c27c393aa (patch) | |
tree | a1b26be1db751817c2b9a4eba7c2a1b18033c5aa /tests/chmod | |
parent | 68a959262aefc5377f5a654d72e71dd42376183e (diff) | |
download | coreutils-50610144b02763f5dd5f6198ceceb88c27c393aa.tar.xz |
tests: adjust \`...' quoting to '...' to adapt to latest gnulib
Run this:
git grep -l "\\\\\`[^']*'" tests \
|xargs perl -pi -e 's/\\\`(.*?'\'')/'\''$1/g
Diffstat (limited to 'tests/chmod')
-rwxr-xr-x | tests/chmod/c-option | 2 | ||||
-rwxr-xr-x | tests/chmod/equal-x | 2 | ||||
-rwxr-xr-x | tests/chmod/no-x | 2 | ||||
-rwxr-xr-x | tests/chmod/thru-dangling | 2 |
4 files changed, 4 insertions, 4 deletions
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 <<EOF > 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 |