summaryrefslogtreecommitdiff
path: root/tests/cp/perm
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/perm')
-rwxr-xr-xtests/cp/perm8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/cp/perm b/tests/cp/perm
index eb3925da2..a93df7182 100755
--- a/tests/cp/perm
+++ b/tests/cp/perm
@@ -55,13 +55,13 @@ for u in 31 37 2; do
;;
cp:*:no)
test $u = 37 &&
- expected_perms=`
+ expected_perms=$(
echo $expected_perms | sed 's/.....$/-----/'
- `
+ )
test $u = 31 &&
- expected_perms=`
+ expected_perms=$(
echo $expected_perms | sed 's/..\(..\).$/--\1-/'
- `
+ )
;;
esac
test _$actual_perms = _$expected_perms || exit 1