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/part-fail | |
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/part-fail')
-rwxr-xr-x | tests/mv/part-fail | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/mv/part-fail b/tests/mv/part-fail index ed74e02b5..f5d2bb3ee 100755 --- a/tests/mv/part-fail +++ b/tests/mv/part-fail @@ -1,8 +1,8 @@ #!/bin/sh -# Make sure we give a sensible diagnostic when a cross-device `mv' +# Make sure we give a sensible diagnostic when a cross-device 'mv' # fails, e.g., because the destination cannot be unlinked. # This is a bit fragile since it relies on the string used -# for EPERM: `permission denied'. +# for EPERM: 'permission denied'. # Copyright (C) 2002, 2004, 2006-2012 Free Software Foundation, Inc. @@ -31,7 +31,7 @@ chmod u-w "$other_partition_tmpdir" || framework_failure_ mv -f k "$other_partition_tmpdir" 2> out && fail=1 printf \ -'mv: inter-device move failed: `%s'\'' to `%s'\'';'\ +'mv: inter-device move failed: '%s'\'' to '%s'\'';'\ ' unable to remove target: Permission denied\n' \ k "$other_partition_tmpdir/k" >exp |