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/install/basic-1 | |
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/install/basic-1')
-rwxr-xr-x | tests/install/basic-1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/install/basic-1 b/tests/install/basic-1 index 856590806..9f954eee4 100755 --- a/tests/install/basic-1 +++ b/tests/install/basic-1 @@ -83,7 +83,7 @@ chmod 755 sub # Ensure that the first argument-dir has been created. test -d xx/yy || fail=1 -# Make sure that the `rel' directory was not created... +# Make sure that the 'rel' directory was not created... test -d sub/rel && fail=1 # and make sure it was not created in the wrong place. test -d xx/rel && fail=1 @@ -105,11 +105,11 @@ fi touch file || fail=1 ginstall -Dv file sub3/a/b/c/file >out 2>&1 || fail=1 compare - out <<\EOF || fail=1 -ginstall: creating directory `sub3' -ginstall: creating directory `sub3/a' -ginstall: creating directory `sub3/a/b' -ginstall: creating directory `sub3/a/b/c' -`file' -> `sub3/a/b/c/file' +ginstall: creating directory 'sub3' +ginstall: creating directory 'sub3/a' +ginstall: creating directory 'sub3/a/b' +ginstall: creating directory 'sub3/a/b/c' +'file' -> 'sub3/a/b/c/file' EOF Exit $fail |