diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-07 17:47:58 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-01-09 21:50:08 +0100 |
commit | dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2 (patch) | |
tree | 5194ff517669cfb08a3ba329658b45870ab063bd /tests/rm/fail-eacces | |
parent | 50610144b02763f5dd5f6198ceceb88c27c393aa (diff) | |
download | coreutils-dd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2.tar.xz |
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'
Diffstat (limited to 'tests/rm/fail-eacces')
-rwxr-xr-x | tests/rm/fail-eacces | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/rm/fail-eacces b/tests/rm/fail-eacces index 1a2d06bb7..947dfac36 100755 --- a/tests/rm/fail-eacces +++ b/tests/rm/fail-eacces @@ -40,14 +40,14 @@ test $ok = 1 || framework_failure_ rm -rf d/f 2> out && fail=1 cat <<\EOF > exp -rm: cannot remove `d/f': Permission denied +rm: cannot remove 'd/f': Permission denied EOF compare exp out || fail=1 # This used to fail with ELOOP. rm -rf e 2> out && fail=1 cat <<\EOF > exp -rm: cannot remove `e/slink': Permission denied +rm: cannot remove 'e/slink': Permission denied EOF compare exp out || fail=1 |