Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add the regression test missed previously
Baptiste Daroussin committed 10 years ago
commit ba2ec6d2b4a0b6fa57ffb8120e64e7e0f087cc83
parent b386a12
1 file changed +17 -0
added tests/frontend/config.sh
@@ -0,0 +1,17 @@
+
#!/usr/bin/env atf-sh
+

+
. $(atf_get_srcdir)/test_environment.sh
+
tests_init \
+
	inline_repo
+

+
inline_repo_body() {
+
	cat > pkgconfiguration << EOF
+
repositories: {
+
	pkg1: { url = file:///tmp },
+
	pkg2: { url = file:///tmp2 },
+
}
+
EOF
+
	atf_check -o match:'^    url             : "file:///tmp",$' \
+
		-o match:'^    url             : "file:///tmp2",$' \
+
		pkg -o REPOS_DIR=/dev/null -C pkgconfiguration -vv
+
}