Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1334706

Summary: [rh-postgresql95] The *-test subpackage is not working correctly
Product: Red Hat Software Collections Reporter: Pavel Raiskup <praiskup>
Component: rh-postgresql95Assignee: Pavel Raiskup <praiskup>
Status: CLOSED ERRATA QA Contact: Jakub Prokes <jprokes>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-postgresql95CC: databases-maint, hhorak, jorton, jprokes, kanderso, pkajaba, praiskup, qe-baseos-daemons
Target Milestone: rc   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1334276 Environment:
Last Closed: 2016-05-31 10:23:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1334276    
Bug Blocks:    

Description Pavel Raiskup 2016-05-10 11:47:11 UTC
+++ This bug was initially created as a clone of Bug #1334276 +++

This happens because we don't change the --psqldir in
$pg_regress_installcheck variable in Makefile.regress.

This issue is in all collections;  for postgresql92 on RHEL7 it is not that
obvious if system-default postgresql-libs package is installed because the SCL
version of postgresql matches the system-default version (9.2).  For that
reason the testsuite passes.

The fix should be:
-pg_regress_installcheck = ./pg_regress --inputdir=$(srcdir) --psqldir='/usr/bin' $(pg_regress_locale_flags)
+pg_regress_installcheck = ./pg_regress --inputdir=$(srcdir) --psqldir='/opt/rh/rh-postgresql94/root/usr/bin' $(pg_regress_locale_flags)

Comment 7 errata-xmlrpc 2016-05-31 10:23:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1165