Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
chflags unit tests can only be run as root
Baptiste Daroussin committed 8 years ago
commit fdebf8945b724039e0677eee1e1a1c22c466b90d
parent 52c5750
1 file changed +2 -0
modified tests/frontend/extract.sh
@@ -178,6 +178,8 @@ EOF

chflags_body()
{
+
	test $(id -u) = 0 || atf_skip "Can only be run as root"
+

	test -x /bin/chflags || atf_skip "Requires chflags"
	# use nodump as it is the only one supported as user, by zfs and by
	# libarchive