Compare commits

...

No commits in common. "c9s" and "c10s" have entirely different histories.
c9s ... c10s

View File

@ -7,16 +7,16 @@ environment:
prepare+:
- how: shell
script: useradd testuser
- how: shell
script: dnf module enable -y postgresql:16
discover:
how: shell
dist-git-source: true
dist-git-type: local
tests:
- name: bundled tests
test: |
# package is built but not shipped on c10s, postgresql16 is the srpm
dnf install -y "https://kojihub.stream.centos.org/kojifiles/vol/koji02/packages/postgresql16/$(rpm -q postgresql-server --qf '%{version}/%{release}/noarch/postgresql-test-rpm-macros-%{version}-%{release}.noarch.rpm')"
chmod a+Xw -R $TMT_SOURCE_DIR &&
runuser testuser --preserve-environment -c '
cd $(dirname $TMT_SOURCE_DIR/psycopg2-*/tests) &&
@ -36,4 +36,4 @@ discover:
require:
- python${pybasever}-psycopg2
- python${pybasever}
- postgresql-test-rpm-macros # present in module
- postgresql16-server