mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-06-01 19:54:10 +03:00
OpenZFS 8071 - zfs-tests: 7290 missed some cases
Authored by: Yuri Pankov <yuri.pankov@nexenta.com> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: John Kennedy <jwk404@gmail.com> Approved by: Richard Lowe <richlowe@richlowe.net> Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: bunder2015 <omfgbunder@gmail.com> OpenZFS-issue: https://www.illumos.org/issues/8071 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/e84991e Closes #6161
This commit is contained in:
committed by
Brian Behlendorf
parent
0071036526
commit
ea8c83fdda
@@ -52,9 +52,7 @@ function cleanup
|
||||
[[ -n $cwd ]] && log_must cd $cwd
|
||||
|
||||
if [[ -d $TESTDIR ]]; then
|
||||
ismounted $TESTDIR
|
||||
(( $? == 0 )) && \
|
||||
log_must $UNMOUNT $TESTDIR
|
||||
ismounted $TESTDIR && log_must umount $TESTDIR
|
||||
log_must rm -rf $TESTDIR
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user