Re: [HACKERS] Interval month, week -> day

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Michael Meskes <meskes(at)postgresql(dot)org>, Michael Glaesemann <grzm(at)seespotcode(dot)net>, pgsql-hackers(at)postgresql(dot)org, pgsql-patches Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Interval month, week -> day
Date: 2006-09-04 19:35:49
Message-ID: 200609041935.k84JZnG22067@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:
> Michael Meskes <meskes(at)postgresql(dot)org> writes:
> > On Sun, Sep 03, 2006 at 10:21:11PM -0400, Bruce Momjian wrote:
> >> When I tried the ecpg regression tests it complained there was no
> >> results/ directory. I created one and it worked.
>
> > Hmm, anyone else experiencing this? The pg_regress.sh has this code that
> > should create it:
>
> > outputdir="results/"
>
> > if [ ! -d "$outputdir" ]; then
> > mkdir -p "$outputdir" || { (exit 2); exit; }
> > fi
>
> I'll bet you should lose the slash in $outputdir. test(1) might or
> might not be "friendly" about stripping that off.

Yep, I saw this error:

mkdir: results/: No such file or directory
gmake: *** [installcheck] Error 2

I have removed the trailing slash from CVS; tests run fine now.
Thanks.

--
Bruce Momjian bruce(at)momjian(dot)us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2006-09-04 19:41:01 Re: TODO Item : GRANT/REVOKE to all schema objects
Previous Message Tom Lane 2006-09-04 19:33:00 Re: Have psql show current sequnce values - (Resubmission)

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2006-09-04 19:41:33 Re: [HACKERS] Fix linking of OpenLDAP libraries
Previous Message Tom Lane 2006-09-04 19:33:00 Re: Have psql show current sequnce values - (Resubmission)