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

 
 

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

Submitted by:  John Darrington <jmd>
Submitted on:  Mon 10 Mar 2008 09:09:07 AM UTC  
 
Category: NoneSeverity: 5 - Average
Status: FixedAssigned to: John Darrington <jmd>
Open/Closed: ClosedRelease: Before 0.6.0
Effort: 0.00

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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>
Project 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>
Project AdministratorIn charge of this item.

 

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

Attach File(s):
   
   
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
  • -unavailable- added by jstover (Posted a comment)
  • -unavailable- added by jmd (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 11 Mar 2008 08:37:49 AM UTCjmdStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Mon 10 Mar 2008 09:09:53 AM UTCjmdReleaseNone=>Before 0.6.0
    Mon 10 Mar 2008 09:09:07 AM UTCjmdAttached File-=>Added pg.patch, #15218

    Back to the top


    Powered by Savane 3.1-cleanup1