summaryrefslogtreecommitdiff
path: root/tests/cp/same-file
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/same-file')
-rwxr-xr-xtests/cp/same-file2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/same-file b/tests/cp/same-file
index d5abfe82b..dbd4d01b6 100755
--- a/tests/cp/same-file
+++ b/tests/cp/same-file
@@ -111,7 +111,7 @@ for args in 'foo symlink' 'symlink foo' 'foo foo' 'sl1 sl2' 'foo hardlink'; do
# the destination is a copy.
for f in $args; do
if test -f $f; then
- case "`cat $f`" in
+ case "$(cat $f)" in
"$contents") ;;
*) echo cp FAILED;;
esac