summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr/src/test/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_aclmode_001_pos.ksh3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_aclmode_001_pos.ksh b/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_aclmode_001_pos.ksh
index 764bc879fd..6a56ea2779 100644
--- a/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_aclmode_001_pos.ksh
+++ b/usr/src/test/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_aclmode_001_pos.ksh
@@ -477,6 +477,7 @@ typeset target
typeset -i passthrough=0
typeset -i flag=0
+cd $TESTDIR
for mode in "${aclmode_flag[@]}"; do
log_must zfs set aclmode=$mode $TESTPOOL/$TESTFS
@@ -512,7 +513,7 @@ for mode in "${aclmode_flag[@]}"; do
done
done
# Archive the file and directory
- log_must tar cpf@ $TARFILE $basedir
+ log_must tar cpf@ $TARFILE ${basedir#$TESTDIR/}
if [[ -d $obj ]]; then
target=$odir