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/mv/into-self-4 | |
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/mv/into-self-4')
-rwxr-xr-x | tests/mv/into-self-4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/mv/into-self-4 b/tests/mv/into-self-4 index 717e12ea0..8df87a2cc 100755 --- a/tests/mv/into-self-4 +++ b/tests/mv/into-self-4 @@ -1,5 +1,5 @@ #!/bin/sh -# confirm that `mv symlink symlink' doesn't remove symlink +# confirm that 'mv symlink symlink' doesn't remove symlink # Based on an example from David Luyer. # Copyright (C) 2001, 2004, 2006-2012 Free Software Foundation, Inc. @@ -28,7 +28,7 @@ ln -s file s || framework_failure_ mv s s 2> /dev/null && fail=1 # But the symlink, s, must not be removed. -# Before 4.0.36, `s' would have been removed. +# Before 4.0.36, 's' would have been removed. test -f s || fail=1 Exit $fail |