Merge pull request #222 from yan12125/fix-test_alpm

Fix test_alpm in Arch chroots
This commit is contained in:
依云 2023-04-07 21:11:50 +08:00 committed by GitHub
commit 4a0caf3213
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,6 +30,7 @@ def setup_module(module):
'pkgrel=4\n'
'arch=(any)\n'
'provides=("test-provides=5.6-7" "test-provides-unversioned")\n'
'options=(!debug)\n'
)
subprocess.check_call(['makepkg', '--nosign'], cwd=pkg_path)
pkg_file = subprocess.check_output(['makepkg', '--packagelist'], cwd=pkg_path, text=True).strip()