Date: Mon, 29 Oct 2018 16:46:01 +0000 From: bugzilla-noreply@freebsd.org To: python@FreeBSD.org Subject: [Bug 232182] sysutils/py-pyznap: Add tests to the port Message-ID: <bug-232182-21822-rIwWUfRJ36@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-232182-21822@https.bugs.freebsd.org/bugzilla/> References: <bug-232182-21822@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232182 --- Comment #5 from Dries Michiels <driesm.michiels@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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232182-21822-rIwWUfRJ36>
