tests: change `...' to '...' on lines not matching /[=\$]/
commitdd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2
authorJim Meyering <meyering@redhat.com>
Sat, 7 Jan 2012 16:47:58 +0000 (7 17:47 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 9 Jan 2012 20:50:08 +0000 (9 21:50 +0100)
tree5194ff517669cfb08a3ba329658b45870ab063bd
parent50610144b02763f5dd5f6198ceceb88c27c393aa
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'
155 files changed:
tests/Coreutils.pm
tests/Makefile.am
tests/chgrp/basic
tests/chgrp/deref
tests/chgrp/no-x
tests/chgrp/posix-H
tests/chmod/no-x
tests/chmod/octal
tests/chown/deref
tests/chown/preserve-root
tests/cp/backup-is-src
tests/cp/cp-a-selinux
tests/cp/cp-deref
tests/cp/cp-mv-backup
tests/cp/cp-mv-enotsup-xattr
tests/cp/fail-perm
tests/cp/fiemap-empty
tests/cp/fiemap-perf
tests/cp/into-self
tests/cp/link-preserve
tests/cp/no-deref-link1
tests/cp/no-deref-link2
tests/cp/no-deref-link3
tests/cp/perm
tests/cp/r-vs-symlink
tests/cp/same-file
tests/cp/slink-2-slink
tests/cp/special-bits
tests/cp/symlink-slash
tests/dd/misc
tests/du/2g
tests/du/8gb
tests/du/deref
tests/du/files0-from
tests/du/inacc-dest
tests/du/long-from-unreadable
tests/du/long-sloop
tests/du/no-x
tests/du/restore-wd
tests/du/slash
tests/du/slink
tests/du/two-args
tests/id/gnu-zero-uids
tests/init.cfg
tests/init.sh
tests/install/basic-1
tests/install/create-leading
tests/install/trap
tests/ln/hard-backup
tests/ln/hard-to-sym
tests/ln/target-1
tests/ls/follow-slink
tests/ls/no-arg
tests/ls/symlink-slash
tests/ls/time-style-diag
tests/misc/basename
tests/misc/chcon
tests/misc/csplit
tests/misc/cut
tests/misc/date
tests/misc/date-sec
tests/misc/dirname
tests/misc/expr
tests/misc/factor
tests/misc/help-version
tests/misc/ls-misc
tests/misc/ls-time
tests/misc/md5sum
tests/misc/md5sum-bsd
tests/misc/nice
tests/misc/nohup
tests/misc/od-N
tests/misc/printf
tests/misc/sha1sum
tests/misc/sha1sum-vec
tests/misc/sha224sum
tests/misc/sha256sum
tests/misc/sha384sum
tests/misc/sha512sum
tests/misc/sort
tests/misc/sort-compress
tests/misc/sort-debug-warn
tests/misc/sort-files0-from
tests/misc/stdbuf
tests/misc/stty
tests/misc/stty-row-col
tests/misc/sum-sysv
tests/misc/tail
tests/misc/test
tests/misc/timeout
tests/misc/wc-files0-from
tests/mkdir/p-v
tests/mkdir/parents
tests/mkdir/perm
tests/mv/backup-dir
tests/mv/backup-is-src
tests/mv/diag
tests/mv/dir2dir
tests/mv/dup-source
tests/mv/hard-3
tests/mv/hard-verbose
tests/mv/i-1
tests/mv/i-3
tests/mv/i-4
tests/mv/i-5
tests/mv/into-self
tests/mv/into-self-2
tests/mv/into-self-3
tests/mv/into-self-4
tests/mv/part-fail
tests/mv/part-symlink
tests/mv/perm-1
tests/mv/sticky-to-xpart
tests/mv/vfat
tests/pr/pr-tests
tests/rm/cycle
tests/rm/deep-1
tests/rm/dir-no-w
tests/rm/dir-nonrecur
tests/rm/empty-name
tests/rm/fail-2eperm
tests/rm/fail-eacces
tests/rm/i-no-r
tests/rm/inaccessible
tests/rm/interactive-always
tests/rm/isatty
tests/rm/no-give-up
tests/rm/one-file-system
tests/rm/r-1
tests/rm/r-2
tests/rm/readdir-bug
tests/rm/rm1
tests/rm/rm2
tests/rm/rm3
tests/rm/rm4
tests/rm/rm5
tests/rm/sunos-1
tests/rm/unread2
tests/rm/v-slash
tests/rmdir/fail-perm
tests/rmdir/t-slash
tests/shell-or-perl
tests/tail-2/F-vs-missing
tests/tail-2/F-vs-rename
tests/tail-2/assert
tests/tail-2/assert-2
tests/tail-2/big-4gb
tests/tail-2/follow-name
tests/tail-2/inotify-hash-abuse
tests/tail-2/proc-ksyms
tests/tail-2/tail-n0f
tests/tail-2/wait
tests/touch/60-seconds
tests/touch/empty-file
tests/touch/not-owner