Обсуждение: BUG #3398: Regress test cannot be run with Makefile in postgresql-test-8.2.4

Поиск
Список
Период
Сортировка

BUG #3398: Regress test cannot be run with Makefile in postgresql-test-8.2.4

От
"Ondrej Sevcik"
Дата:
The following bug has been logged online:

Bug reference:      3398
Logged by:          Ondrej Sevcik
Email address:      osevcik@redhat.com
PostgreSQL version: 8.2.4
Operating system:   Linux RHEL 5
Description:        Regress test cannot be run with Makefile in
postgresql-test-8.2.4
Details:

I have installed package postgresql-test-8.2.4-1.el5s2 and I tried to run
tests by "make check" in /usr/lib/pgsql/test/regress and this ended by an
error:

./pg_regress: ./pg_regress: cannot execute binary file
make: *** [installcheck-parallel] Error 126

In previous version was pg_regress a bash script, but now it is a binary
file, but Make file was not changed and there is still $(SHELL)
./pg_regress
AFAIK binary files cannot be run in this way. I hope that I didn't miss some
switch in .bashrc. Anyway it didn't work for me on two RHEL5 computers.

Re: BUG #3398: Regress test cannot be run with Makefile in postgresql-test-8.2.4

От
Devrim GÜNDÜZ
Дата:
Hello,

On Wed, 2007-06-20 at 16:20 +0000, Ondrej Sevcik wrote:
> Description:        Regress test cannot be run with Makefile in
> postgresql-test-8.2.4

Tom fixed it in his packages, and I applied his patch to PGDG packages:

http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgsqlrpms/specs/8.2/postgresql-8.2.spec.diff?r1=1.32&r2=1.33
http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgsqlrpms/patches/8.2/Makefile.regress.diff?r1=1.1&r2=1.2

(Thanks Tom)

Regards,
--
Devrim GÜNDÜZ
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: plPHP, ODBCng - http://www.commandprompt.com/