Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
When running the scripts which requires root, do not set INSTALL_AS_USER
Baptiste Daroussin committed 6 years ago
commit 8346f7074411131953c3569f047318dcd36021fe
parent 78af05f
1 file changed +2 -0
modified tests/frontend/extract.sh
@@ -180,6 +180,7 @@ chflags_body()
{
	test $(id -u) = 0 || atf_skip "Can only be run as root"

+
	unset INSTALL_AS_USER
	test -x /bin/chflags || atf_skip "Requires chflags"
	# use nodump as it is the only one supported as user, by zfs and by
	# libarchive
@@ -213,6 +214,7 @@ chflags_schg_body()
	test -x /bin/chflags || atf_skip "Requires chflags"
	test $(id -u) = 0 || atf_skip "Can only be run as root"

+
	unset INSTALL_AS_USER
	touch ${TMPDIR}/a
	atf_check -s exit:0 sh ${RESOURCEDIR}/test_subr.sh new_pkg "test" "test" "1"
	echo "@(root,wheel,,schg) ${TMPDIR}/a" > test.plist