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/du/long-sloop | |
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/du/long-sloop')
-rwxr-xr-x | tests/du/long-sloop | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/du/long-sloop b/tests/du/long-sloop index b5b11f256..78926d38f 100755 --- a/tests/du/long-sloop +++ b/tests/du/long-sloop @@ -47,9 +47,9 @@ echo foo > $i # If a system can handle this many symlinks in a file name, # just skip this test. -# The following also serves to record in `err' the string +# The following also serves to record in 'err' the string # corresponding to strerror (ELOOP). This is necessary because while -# Linux/libc gives `Too many levels of symbolic links', Solaris +# Linux/libc gives 'Too many levels of symbolic links', Solaris # renders it as `Number of symbolic links encountered during path # name traversal exceeds MAXSYMLINKS'. @@ -61,7 +61,7 @@ too_many=`sed 's/.*: //' err` # With coreutils-5.93 there was no failure. # With coreutils-5.94 we get the desired diagnostic: -# du: cannot access `1/s/s/s/.../s': Too many levels of symbolic links +# du: cannot access '1/s/s/s/.../s': Too many levels of symbolic links du -L 1 > /dev/null 2> out1 && fail=1 sed "s, .1/s/s/s/[/s]*',," out1 > out || fail=1 |