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/pr/pr-tests | |
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/pr/pr-tests')
-rwxr-xr-x | tests/pr/pr-tests | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/pr/pr-tests b/tests/pr/pr-tests index 0cfca13b2..de1061225 100755 --- a/tests/pr/pr-tests +++ b/tests/pr/pr-tests @@ -308,9 +308,9 @@ my @tv = ( ['13bb', '-t -n: -2 -e8', [\'t_tab'], [\'tn_2e8-t_tab'], 0], ['13bc', '-t -n: -2 -e8 -S----', [\'t_tab'], [\'tn_2e8S-t_tab'], 0], ['13bd', '-t -n -2 -e8 -o3', [\'t_tab'], [\'tn2e8o3-t_tab'], 0], -# number-separator TAB not treated as input text-tab, no `-e' expansion +# number-separator TAB not treated as input text-tab, no '-e' expansion ['13be', '-t -n -2 -e5 -o3', [\'t_tab'], [\'tn2e5o3-t_tab'], 0], -# input-tab-char `:' not equal default (text) TABs +# input-tab-char ':' not equal default (text) TABs ['13bf', '-t -n -2 -e:8', [\'t_tab_'], [\'tn2e8-t_tab'], 0], # # options -w/-s: POSIX-compliant, means adapting the interference of -w/-s @@ -326,10 +326,10 @@ my @tv = ( # columns, truncated = 60 / no separator (SunOS-BUG: line width to small): ['14e', '-2 -s -w60 -f', [\'t_notab'], [\'2sw60f-t_notab'], 0], # columns, truncated = 60 / separator = `:' (HP-UX.10.20-2-BUG: -# `:' missing with -m option): +# ':' missing with -m option): ['14f', '-2 -s: -w60 -f', [\'t_notab'], [\'2s_w60f-t_nota'], 0], # -# new long-options -W/-S/-J disentangle those options (see also No.`10*') +# new long-options -W/-S/-J disentangle those options (see also No.'10*') # columns, truncated = 72 / no separator : ['14g', '-2 -S -f', [\'t_notab'], [\'2-Sf-t_notab'], 0], # full lines, no truncation / separator = TAB : (Input: -S"<TAB>") |