diff options
author | Toomas Soome <tsoome@me.com> | 2022-12-09 15:28:57 +0200 |
---|---|---|
committer | Toomas Soome <tsoome@me.com> | 2022-12-12 15:37:18 +0200 |
commit | 1a6cb65e56b7b748d076735cbdfa3d4dddec8ea9 (patch) | |
tree | d5c0f4ce30d502806f7785cf07fbeda17743de70 | |
parent | d67e8fd81d2058a6f9e67cc94c55a7dd9ceb6780 (diff) | |
download | illumos-gate-1a6cb65e56b7b748d076735cbdfa3d4dddec8ea9.tar.gz |
15247 zfs_acl_chmod_aclmode_001_pos: tar extracts files in wrong directory
Reviewed by: Yuri Pankov <yuri@aetern.org>
Approved by: Gordon Ross <gordon.w.ross@gmail.com>
-rw-r--r-- | usr/src/test/zfs-tests/tests/functional/acl/nontrivial/zfs_acl_chmod_aclmode_001_pos.ksh | 3 |
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 |