summaryrefslogtreecommitdiff
path: root/tests/install
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-07 17:47:58 +0100
committerJim Meyering <meyering@redhat.com>2012-01-09 21:50:08 +0100
commitdd0e4c5621ca2fa9255aef4eee0e7cf41cd335d2 (patch)
tree5194ff517669cfb08a3ba329658b45870ab063bd /tests/install
parent50610144b02763f5dd5f6198ceceb88c27c393aa (diff)
downloadcoreutils-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')
-rwxr-xr-xtests/install/basic-112
-rwxr-xr-xtests/install/create-leading2
-rwxr-xr-xtests/install/trap4
3 files changed, 9 insertions, 9 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
diff --git a/tests/install/create-leading b/tests/install/create-leading
index 715fe2983..d349f601c 100755
--- a/tests/install/create-leading
+++ b/tests/install/create-leading
@@ -16,7 +16,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-# Note that the tests below use `ginstall', not install, because
+# Note that the tests below use 'ginstall', not install, because
# that's the name of the binary in ../../src.
. "${srcdir=.}/init.sh"; path_prepend_ ../src
diff --git a/tests/install/trap b/tests/install/trap
index 446e39ad4..79cea5f7c 100755
--- a/tests/install/trap
+++ b/tests/install/trap
@@ -1,5 +1,5 @@
#!/bin/sh
-# Ensure that `install -s' doesn't infloop when its parent
+# Ensure that 'install -s' doesn't infloop when its parent
# process traps CHLD signal.
# Copyright (C) 2004-2012 Free Software Foundation, Inc.
@@ -26,7 +26,7 @@ print_ver_ ginstall
# ash doesn't support "trap '' CHLD"; it knows only signal numbers.
sig=`"$abs_top_builddir/src/kill" -l CHLD 2>/dev/null` && trap '' $sig
- # Before 2004-04-21, install would infloop, in the `while (wait...' loop:
+ # Before 2004-04-21, install would infloop, in the 'while (wait...' loop:
exec ginstall -s "$abs_top_builddir/src/ginstall$EXEEXT" .
)