summaryrefslogtreecommitdiff
path: root/tests/cp/perm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/perm')
-rwxr-xr-xtests/cp/perm4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/perm b/tests/cp/perm
index 2e6126d62..eb3925da2 100755
--- a/tests/cp/perm
+++ b/tests/cp/perm
@@ -49,8 +49,8 @@ for u in 31 37 2; do
case "$cmd:$force:$existing_dest" in
cp:*:yes)
- _g_perm=`echo rwx|sed 's/[^'$g_perm']/-/g'`
- _o_perm=`echo rwx|sed 's/[^'$o_perm']/-/g'`
+ _g_perm=$(echo rwx|sed 's/[^'$g_perm']/-/g')
+ _o_perm=$(echo rwx|sed 's/[^'$o_perm']/-/g')
expected_perms=-rw-$_g_perm$_o_perm
;;
cp:*:no)