From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Mr OCP <mr_ocp@hotmail.com>
Cc: pgsql-admin@postgresql.org
Cc: andrew@libertyrms.info
Subject: Re: gmake check runs just 13 tests instead of 77
Date: Tue, 12 Nov 2002 19:27:26 -0500 (EST)
Message-ID: <200211130027.gAD0RQf26386@candle.pha.pa.us> (raw)
In-Reply-To: <11488.1037134555@sss.pgh.pa.us>
Tom Lane wrote:
> "Mr OCP" <mr_ocp@hotmail.com> writes:
> > I am testing the beta 5 version of 7.3, by using make check under solaris 7
> > and 8 and it runs just 13 tests as against 77 tests as indicated in the
> > README.regression,
>
> Hmm, maybe a portability problem in the pg_regress script ... but I
> thought we'd already checked 7.3 on Solaris. Andrew, can you reproduce
> this problem?
It does report:
All 13 tests passed.
I wonder if Solaris folks are thinking that is a success. I see you
found that my awk 'BEGIN ...' was the problem. I didn't realize awk
would do that. On BSD/OS using gawk, it is OK:
$ echo "1\n2" | while read FILE; do echo $FILE;awk 'BEGIN {print "a"}';
done
1
a
2
a
Anyway, pg_regress.sh should just be fixed. I added this code so I
didn't have to do gymnatics on echoing a backslash:
echo "SET autocommit TO 'on';"; awk 'BEGIN {printf "\\set ECHO all\n"}'; cat "$inputdir/sql/$name.sql") |
I didn't use this method in any of my other autocommit fixes. I did it
this way only so I could turn autocommit on without having it show up in
the regression output.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, mr_ocp@hotmail.com, andrew@libertyrms.info
Subject: Re: gmake check runs just 13 tests instead of 77
In-Reply-To: <200211130027.gAD0RQf26386@candle.pha.pa.us>
References: <11488.1037134555@sss.pgh.pa.us> <200211130027.gAD0RQf26386@candle.pha.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox