summaryrefslogtreecommitdiff
path: root/tests/misc/nohup
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/misc/nohup
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/misc/nohup')
-rwxr-xr-xtests/misc/nohup12
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/misc/nohup b/tests/misc/nohup
index 99af1e66f..e20a22c70 100755
--- a/tests/misc/nohup
+++ b/tests/misc/nohup
@@ -27,9 +27,9 @@ nohup sh -c 'echo stdout; echo stderr 1>&2' 2>err || fail=1
if test -t 1; then
test "`cat nohup.out`" = stdout || fail=1
if test -t 0; then
- echo 'nohup: ignoring input and appending output to `nohup.out'\'
+ echo 'nohup: ignoring input and appending output to 'nohup.out'\'
else
- echo 'nohup: appending output to `nohup.out'\'
+ echo 'nohup: appending output to 'nohup.out'\'
fi >exp || fail=1
else
# Here it should not even exist.
@@ -85,8 +85,8 @@ if test -t 1; then
fi
cat <<\EOF > exp || fail=1
-nohup: appending output to `nohup.out'
-nohup: cannot run command `no-such-command': No such file or directory
+nohup: appending output to 'nohup.out'
+nohup: cannot run command 'no-such-command': No such file or directory
EOF
# Disable these comparisons. Too much variation in 2nd line.
# compare exp err || fail=1
@@ -105,8 +105,8 @@ if test -t 1; then
fi
cat <<\EOF > exp || fail=1
-nohup: appending output to `nohup.out'
-nohup: cannot run command `./k': Permission denied
+nohup: appending output to 'nohup.out'
+nohup: cannot run command './k': Permission denied
EOF
# Disable these comparisons. Too much variation in 2nd line.
# compare exp err || fail=1