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/init.cfg | |
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/init.cfg')
-rw-r--r-- | tests/init.cfg | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/init.cfg b/tests/init.cfg index 437969840..fda82bc02 100644 --- a/tests/init.cfg +++ b/tests/init.cfg @@ -153,7 +153,7 @@ require_setfacl_() || skip_ "setfacl does not work on the current file system" } -# Require a controlling input `terminal'. +# Require a controlling input 'terminal'. require_controlling_input_terminal_() { tty -s || have_input_tty=no @@ -231,7 +231,7 @@ rwx_to_mode_() # s xs # T t # t xt - # The `T' and `t' ones are only valid for `other'. + # The 'T' and 't' ones are only valid for 'other'. s='s/S/@/;s/s/x@/;s/@/s/' t='s/T/@/;s/t/x@/;s/@/t/' @@ -310,7 +310,7 @@ require_root_() skip_if_root_() { uid_is_privileged_ && skip_ "must be run as non-root"; } -# Set `groups' to a space-separated list of at least two groups +# Set 'groups' to a space-separated list of at least two groups # of which the user is a member. require_membership_in_two_groups_() { @@ -321,7 +321,7 @@ require_membership_in_two_groups_() *' '*) ;; *) skip_ 'requires membership in two groups this test requires that you be a member of more than one group, -but running `id -G'\'' either failed or found just one. If you really +but running 'id -G'\'' either failed or found just one. If you really are a member of at least two groups, then rerun this test with COREUTILS_GROUPS set in your environment to the space-separated list of group names or numbers. E.g., @@ -398,7 +398,7 @@ mkfifo_or_skip_() # Make an exception of this case -- usually we interpret framework-creation # failure as a test failure. However, in this case, when running on a SunOS # system using a disk NFS mounted from OpenBSD, the above fails like this: - # mkfifo: cannot make fifo `fifo-10558': Not owner + # mkfifo: cannot make fifo 'fifo-10558': Not owner skip_ 'unable to create a fifo' fi } |