summaryrefslogtreecommitdiff
path: root/tests/cp/fail-perm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/fail-perm')
-rwxr-xr-xtests/cp/fail-perm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/fail-perm b/tests/cp/fail-perm
index 3835f6b0f..2c37d6fb1 100755
--- a/tests/cp/fail-perm
+++ b/tests/cp/fail-perm
@@ -31,7 +31,7 @@ cp -pR D DD > /dev/null 2>&1 && fail=1
# Permissions on DD must be 'dr-x------'
-mode=`ls -ld DD|cut -b-10`
+mode=$(ls -ld DD|cut -b-10)
test "$mode" = dr-x------ || fail=1
chmod 0 D