Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Revert "vital: adapt test to latest changes"
Baptiste Daroussin committed 2 years ago
commit be6d675aa444766e2dd639befb62d8fb2255354f
parent 9886217
1 file changed +2 -2
modified tests/frontend/vital.sh
@@ -40,8 +40,8 @@ EOF

	atf_check \
		-o empty \
-
		-e empty  \
-
		-s exit:1 \
+
		-e inline:"${PROGNAME}: Cannot delete vital package: test!\n${PROGNAME}: If you are sure you want to remove test, \n${PROGNAME}: unset the 'vital' flag with: pkg set -v 0 test\n" \
+
		-s exit:3 \
		pkg -r ${TMPDIR}/target delete -qy test
	atf_check \
		-o empty \