diff options
author | Giuseppe Di Natale <[email protected]> | 2017-02-03 13:24:44 -0800 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2017-02-03 13:24:44 -0800 |
commit | d21d5b8248cf38d1518c9beccc350bc9081ff6be (patch) | |
tree | 0049ce696ca24c5c10051b7186d9f205153cf4fd /tests | |
parent | 9b7b9cd370ed2ec4c8ee346bcb95cb30ba7e9ba9 (diff) |
OpenZFS 4521 - zfstest is trying to execute evil "zfs unmount -a"
Authored by: Yuri Pankov <[email protected]>
Reviewed by: Andriy Gapon <[email protected]>
Reviewed by: Dan McDonald <[email protected]>
Reviewed by: Matthew Ahrens <[email protected]>
Reviewed by: John Kennedy <[email protected]>
Approved by: Robert Mustacchi <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Ported-by: Giuseppe Di Natale <[email protected]>
Porting Notes:
- Correctly set __ZFS_POOL_RESTRICT in inherit_001_pos
OpenZFS-issue: https://www.illumos.org/issues/4521
OpenZFS-commit: https://github.com/openzfs/openzfs/commit/8808ac5
Closes #5674
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh b/tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh index 0bbb77ce5..afcbfde02 100755 --- a/tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh +++ b/tests/zfs-tests/tests/functional/inheritance/inherit_001_pos.ksh @@ -331,7 +331,7 @@ function scan_state { #state-file if [[ $op == "-" ]]; then log_note "No operation specified" else - export __ZFS_POOL_RESTRICT="$TESTPOOL" + export __ZFS_POOL_RESTRICT="TESTPOOL" log_must $ZFS unmount -a unset __ZFS_POOL_RESTRICT |