summaryrefslogtreecommitdiff
path: root/tests/cp/r-vs-symlink
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/r-vs-symlink')
-rwxr-xr-xtests/cp/r-vs-symlink2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/r-vs-symlink b/tests/cp/r-vs-symlink
index 15616ffd7..e96c58425 100755
--- a/tests/cp/r-vs-symlink
+++ b/tests/cp/r-vs-symlink
@@ -32,7 +32,7 @@ ln -s no-such-file no-file || framework_failure_
cp -r no-file junk 2>/dev/null || fail=1
cp -r slink bar 2>/dev/null || fail=1
-set x `ls -l bar`; shift; mode=$1
+set x $(ls -l bar); shift; mode=$1
case $mode in
l*) ;;
*) fail=1;;