public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowi@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/postgresql-jdbc] rawhide: Use RPM macro to init tests
Date: Wed, 29 Jul 2026 13:48:06 GMT	[thread overview]
Message-ID: <178533288609.1.7397703945209682606.rpms-postgresql-jdbc-246ecf802f25@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/postgresql-jdbc
            Branch : rawhide
            Commit : 246ecf802f259d564c57f91070b6b3517feb6700
            Author : Yaakov Selkowitz <yselkowi@redhat.com>
            Date   : 2026-07-28T18:21:19-04:00
            Stats  : +1/-1 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/postgresql-jdbc/c/246ecf802f259d564c57f91070b6b3517feb6700?branch=rawhide

            Log:
            Use RPM macro to init tests

This fixes the build for flatpaks where the default postgresql may be
rebuilt in /app.

---
diff --git a/postgresql_jdbc_tests_start.sh b/postgresql_jdbc_tests_start.sh
index 3796841..b407842 100755
--- a/postgresql_jdbc_tests_start.sh
+++ b/postgresql_jdbc_tests_start.sh
@@ -6,7 +6,7 @@
 
 set -ex
 
-. /usr/share/postgresql-setup/postgresql_pkg_tests.sh
+eval $(rpm -E %postgresql_tests_init)
 
 PGTESTS_LOCALE=C.UTF-8
 

                 reply	other threads:[~2026-07-29 13:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178533288609.1.7397703945209682606.rpms-postgresql-jdbc-246ecf802f25@fedoraproject.org \
    --to=yselkowi@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox