summaryrefslogtreecommitdiff
path: root/tests/misc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/misc')
-rwxr-xr-xtests/misc/help-version2
-rwxr-xr-xtests/misc/ls-time4
-rwxr-xr-xtests/misc/truncate-fail-diag6
-rwxr-xr-xtests/misc/uniq8
4 files changed, 10 insertions, 10 deletions
diff --git a/tests/misc/help-version b/tests/misc/help-version
index bba6d3663..b93eb3796 100755
--- a/tests/misc/help-version
+++ b/tests/misc/help-version
@@ -107,7 +107,7 @@ for lang in C fr da; do
: # ok
else
fail=1
- echo "*** $i: bad exit status \`$status' (expected $expected)," 1>&2
+ echo "*** $i: bad exit status '$status' (expected $expected)," 1>&2
echo " with --help or --version output redirected to /dev/full" 1>&2
fi
fi
diff --git a/tests/misc/ls-time b/tests/misc/ls-time
index 8bf3a5e9d..6a227c4d9 100755
--- a/tests/misc/ls-time
+++ b/tests/misc/ls-time
@@ -64,7 +64,7 @@ case "$*" in
A basic test of touch -m has just failed, so the subsequent
tests in this file will not be run.
-In the output below, the date of last modification for \`a' should
+In the output below, the date of last modification for 'a' should
have been $t3.
EOF
#`
@@ -83,7 +83,7 @@ case "$*" in
A fundamental touch -a test has just failed, so the subsequent
tests in this file will not be run.
-In the output below, the date of last access for \`a' should
+In the output below, the date of last access for 'a' should
have been $u1.
EOF
ls --full -lu a
diff --git a/tests/misc/truncate-fail-diag b/tests/misc/truncate-fail-diag
index 7cc6a63d9..f9cdabf38 100755
--- a/tests/misc/truncate-fail-diag
+++ b/tests/misc/truncate-fail-diag
@@ -30,14 +30,14 @@ d1=no
dir=$d1/such-dir
truncate -s0 $dir > out 2>&1 && fail=1
cat <<EOF > exp
-truncate: cannot open \`$dir' for writing: No such file or directory
+truncate: cannot open '$dir' for writing: No such file or directory
EOF
compare exp out || fail=1
dir=$d1/
truncate -s0 $dir > out 2>&1 && fail=1
#The following can be returned at least
-#truncate: cannot open \`$dir' for writing: Not a directory
-#truncate: cannot open \`$dir' for writing: Is a directory
+#truncate: cannot open '$dir' for writing: Not a directory
+#truncate: cannot open '$dir' for writing: Is a directory
Exit $fail
diff --git a/tests/misc/uniq b/tests/misc/uniq
index 84e1c48e5..f7211a330 100755
--- a/tests/misc/uniq
+++ b/tests/misc/uniq
@@ -186,11 +186,11 @@ my @Tests =
{IN=>"a\na\nb\nc\nc\n"}, {OUT=>"\na\na\n\nc\nc\n"}],
['118', '--all-repeated=prepend', {IN=>"a\nb\n"}, {OUT=>""}],
['119', '--all-repeated=badoption', {IN=>"a\n"}, {OUT=>""}, {EXIT=>1},
- {ERR=>"$prog: invalid argument \`badoption' for \`--all-repeated'\n"
+ {ERR=>"$prog: invalid argument 'badoption' for '--all-repeated'\n"
. "Valid arguments are:\n"
- . " - \`none'\n"
- . " - \`prepend'\n"
- . " - \`separate'\n"
+ . " - 'none'\n"
+ . " - 'prepend'\n"
+ . " - 'separate'\n"
. $try}],
# Check that -d and -u suppress all output, as POSIX requires.
['120', qw(-d -u), {IN=>"a\na\n\b"}, {OUT=>""}],