https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232182

--- Comment #5 from Dries Michiels <driesm.michi...@gmail.com> ---
I did some further research and its like Mateusz said; in a Poudriere
enviroment the other tests fail too. ZFS isn't available in a Poudriere jail.
When I execute "poudriere testport -i -o sysutils/py-pyznap -j head -p head"
and then try to exectute a ZFS command in interactive mode it sais this every
time:

root@head-head:~ # zfs
internal error: failed to initialize ZFS library

root@head-default:~ # zpool
internal error: failed to initialize ZFS library


Should I create a PR for the above issue?

When the ZFS/zpool command isn't available in a Poudriere jail, tests that use
the ZFS/ZPOOL command will have a hard time passing.  The tests do pass when
not in a Poudriere jail, simply on the host with root privileges. Then all the
standard ZFS tests pass.

Are there any examples in the ports tree where tests are skipped based on env
variables? I would like to check if executed from poudriere jail or host if
thats possible?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"

Reply via email to