Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Change the version of foo to closer match how this would probably work and check for the correct packages in the list
Brad Davis committed 8 years ago
commit dc73a57c0a8afb3cf3445fdde2042f435baa63dd
parent 174ac68
1 file changed +9 -1
modified tests/frontend/conflicts.sh
@@ -97,7 +97,7 @@ EOF
		-s exit:0 \
		pkg create -M ./bar1.ucl -o ./repo/

-
	atf_check -s exit:0 ${RESOURCEDIR}/test_subr.sh new_pkg foo foo 1.1 "${TMPDIR}"
+
	atf_check -s exit:0 ${RESOURCEDIR}/test_subr.sh new_pkg foo foo 1.0_1 "${TMPDIR}"
	cat << EOF >> foo.ucl
deps: {
	bar1: {
@@ -130,6 +130,14 @@ EOF
		-e empty \
		-s exit:0 \
		pkg -C ./pkg.conf upgrade -y
+

+
	atf_check \
+
		-o match:"foo-1.0_1" \
+
		-o match:"bar1-1.1" \
+
		-o not-match:"bar-2.0" \
+
		-e empty \
+
		-s exit:0 \
+
		pkg info
}

find_conflicts_body() {