summaryrefslogtreecommitdiff
path: root/tests/touch
diff options
context:
space:
mode:
Diffstat (limited to 'tests/touch')
-rwxr-xr-xtests/touch/fail-diag2
-rwxr-xr-xtests/touch/not-owner2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/touch/fail-diag b/tests/touch/fail-diag
index d42ee3774..6cdc1e2af 100755
--- a/tests/touch/fail-diag
+++ b/tests/touch/fail-diag
@@ -24,7 +24,7 @@ file=/no-such-dir/file
touch $file > out 2>&1 && fail=1
cat <<EOF > exp
-touch: cannot touch \`$file': No such file or directory
+touch: cannot touch '$file': No such file or directory
EOF
compare exp out || fail=1
diff --git a/tests/touch/not-owner b/tests/touch/not-owner
index 3637111a5..3aba5f0a0 100755
--- a/tests/touch/not-owner
+++ b/tests/touch/not-owner
@@ -43,7 +43,7 @@ touch / > out 2>&1 && fail=1
for msg in 'Not owner' 'Operation not permitted' 'Permission denied' \
'Read-only file system'; do
cat > exp <<EOF
-touch: setting times of \`/': $msg
+touch: setting times of '/': $msg
EOF
cmp out exp > /dev/null 2>&1 && { match=1; break; }