Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Fix tests
Baptiste Daroussin committed 10 years ago
commit 7945e2cbbff12d0eab88decc51badd94eb1db1c8
parent 91febf8
1 file changed +4 -4
modified tests/frontend/add.shin
@@ -153,7 +153,7 @@ EOF

	atf_check \
		-o inline:"${JAILED}Installing test-1...\n\nFailed to install the following 1 package(s): test-1.txz\n" \
-
		-e inline:"pkg: Missing dependency 'b-1'\n" \
+
		-e inline:"pkg: Missing dependency 'b'\n" \
		-s exit:70 \
		pkg add test-1.txz

@@ -164,7 +164,7 @@ post-install
"
	atf_check \
		-o inline:"${OUTPUT}" \
-
		-e inline:"pkg: Missing dependency 'b-1'\n" \
+
		-e inline:"pkg: Missing dependency 'b'\n" \
		-s exit:0 \
		pkg add -M test-1.txz
}
@@ -247,7 +247,7 @@ EOF

	cat test-1.txz | atf_check \
		-o inline:"${JAILED}Installing test-1...\n\nFailed to install the following 1 package(s): -\n" \
-
		-e inline:"pkg: Missing dependency 'b-1'\n" \
+
		-e inline:"pkg: Missing dependency 'b'\n" \
		-s exit:70 \
		pkg add -

@@ -258,7 +258,7 @@ post-install
"
	cat test-1.txz | atf_check \
		-o inline:"${OUTPUT}" \
-
		-e inline:"pkg: Missing dependency 'b-1'\n" \
+
		-e inline:"pkg: Missing dependency 'b'\n" \
		-s exit:0 \
		pkg add -M -
}