diff --git a/tests/abuild_test b/tests/abuild_test index 0b567f8..a0e7804 100755 --- a/tests/abuild_test +++ b/tests/abuild_test @@ -14,7 +14,8 @@ init_tests \ abuild_reproducible \ abuild_checksum_generation \ abuild_checksum_duplicates \ - abuild_subpkg_dep_leak + abuild_subpkg_dep_leak \ + abuild_py_providers_creation export ABUILD_SHAREDIR=$(atf_get_srcdir)/.. export ABUILD_CONF=/dev/null @@ -299,3 +300,12 @@ abuild_subpkg_dep_leak_body() { || atf_fail "subpkg-dep-leak-subpkg should not depend on tar" } +abuild_py_providers_creation_body() { + cp -ra "$testrepo" . + cd testrepo/py3-foo-and-bar + abuild rootpkg || atf_fail "abuild failed" + atf_check -s exit:0 \ + -o match:"provides = py3.9:foo=1.0.0-r0" \ + cat pkg/.control.py3-foo-and-bar/.PKGINFO +} +