bugPSPP - Bugs: bug #22527, test/command/get-data-psql.sh...

 
 

bug #22527: test/command/get-data-psql.sh fails on some systems

Submitter:  John Darrington <jmd>
Submitted:  Mon 10 Mar 2008 09:09:07 AM UTC
   
 
Category:  None Severity:  5 - Average
Status:  Fixed Assigned to:  jmd
Open/Closed:  Closed Release:  Before 0.6.0
Effort:  0.00
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 11 Mar 2008 08:37:49 AM UTC, comment #2: 

I committed this.  If there's any more problems, please re-open it.

John Darrington <jmd>
Group administrator
Mon 10 Mar 2008 04:24:06 PM UTC, comment #1: 

After applying the patch, the script has an
empty pgpath variable:

$ ./tests/command/get-data-psql.sh
./tests/command/get-data-psql.sh: line 25: pg_config: command not found
No Postgres server was found, so the postgres database interface cannot be tested.

I set pgpath=/usr/local/pgpath/ directly in get-data-psql.sh, and then it seemed to run, after printing this:

./tests/command/get-data-psql.sh: line 25: pg_config: command not found

Jason H Stover <jstover>
Group Member
Mon 10 Mar 2008 09:09:07 AM UTC, original submission:  

From Jason via email:

> All that happened was this:
> ./tests/command/get-data-psql.sh: line 85: psql: command not found
> populate database
> FAILED


> I changed line 85 to this:


> /usr/local/pgsql/bin/psql  -h $TEMPDIR -p $port  $dbase > /dev/null << EOF


> and got:


> psql: FATAL:  database "pspptest" does not exist
> populate database
> FAILED



Can you try this patch and tell me what happens.

John Darrington <jmd>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #15218:  pg.patch added by jmd (1KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jstover (Posted a comment)
  • -email is unavailable- added by jmd (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-03-11 jmd StatusNone Fixed
        Open/ClosedOpen Closed
    2008-03-10 jmd ReleaseNone Before 0.6.0
    2008-03-10 jmd Attached File- Added pg.patch, #15218

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code