1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-02 08:42:48 +00:00

Call atf_skip function in cleanup procedure as it also triggers zfs.ko loading

PR:		249055
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Li-Wen Hsu 2020-09-07 18:15:58 +00:00
parent 7cccb910b2
commit d8bdfeb653
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365424

View File

@ -452,6 +452,11 @@ bectl_jail_body()
# attempts to destroy the zpool.
bectl_jail_cleanup()
{
if [ "$(atf_config_get ci false)" = "true" ] && \
[ "$(uname -p)" = "i386" ]; then
atf_skip "https://bugs.freebsd.org/249055"
fi
zpool=$(get_zpool_name)
for bootenv in "default" "target" "1234"; do
# mountpoint of the boot environment