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/cp/into-self | |
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/cp/into-self')
-rwxr-xr-x | tests/cp/into-self | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/cp/into-self b/tests/cp/into-self index 792e659f8..67cec7f95 100755 --- a/tests/cp/into-self +++ b/tests/cp/into-self @@ -16,10 +16,10 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -# In 4.0.35 and earlier, `mkdir dir && cp -R dir dir' would produce this: -# cp: won't create hard link `dir/dir/dir' to directory `' +# In 4.0.35 and earlier, 'mkdir dir && cp -R dir dir' would produce this: +# cp: won't create hard link 'dir/dir/dir' to directory '' # Now it gives this: -# cp: can't copy a directory `dir' into itself `dir/dir' +# cp: can't copy a directory 'dir' into itself 'dir/dir' . "${srcdir=.}/init.sh"; path_prepend_ ../src print_ver_ cp @@ -41,13 +41,13 @@ cp -rl a dir dir 2>> out && fail=1 echo 4 >> out cat > exp <<\EOF -cp: cannot copy a directory, `dir', into itself, `dir/dir' +cp: cannot copy a directory, 'dir', into itself, 'dir/dir' 1 -cp: cannot copy a directory, `dir', into itself, `dir/dir' +cp: cannot copy a directory, 'dir', into itself, 'dir/dir' 2 -cp: cannot copy a directory, `dir', into itself, `dir/dir' +cp: cannot copy a directory, 'dir', into itself, 'dir/dir' 3 -cp: cannot copy a directory, `dir', into itself, `dir/dir' +cp: cannot copy a directory, 'dir', into itself, 'dir/dir' 4 EOF #' |