RE: :Oracle make test problem



How would I fix this issue?


Thank you for taking the time to look at this.



-----Original Message-----
From: Tim Bunce [mailto:Tim.Bunce@xxxxxxxxx]
Sent: Wednesday, January 24, 2007 7:21 AM
To: Andy Hassall
Cc: 'Weaver John Cairns CONT NSSC'; dbi-users@xxxxxxxx
Subject: Re: :Oracle make test problem

On Tue, Jan 23, 2007 at 11:36:13PM -0000, Andy Hassall wrote:
The two failed tests aren't Oracle tests, but are checking how exit codes
are handled on your OS:

is system("exit 1;"), 1<<8, 'system exit 1 should return 256';
is system("exit 0;"), 0, 'system exit 0 should return 0';

All the Oracle tests run and pass, so there's nothing apparently wrong on
the Oracle side, but those above fail.

They fail because Oracle has hijacked the SIGCHLD signal handler.

Tim.

According to the docs for "system":

"Return value of -1 indicates a failure to start the program or an error
of
the wait(2) system call (inspect $! for the reason)."

What output do you get if you run the following:

perl -e 'system("exit 1;"); print "$? $!\n"'
perl -e 'system("exit 0;"); print "$? $!\n"'

--
Andy Hassall :: andy@xxxxxxxxxxx :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool

From: Weaver John Cairns CONT NSSC [mailto:WeaverJC@xxxxxxxxxxxxxxx]
Sent: 23 January 2007 18:16
To: 'dbi-users@xxxxxxxx'
Cc: 'Tim.Bunce@xxxxxxxxx'
Subject: DBD::Oracle make test problem



Hi,



I am having problems with DBD::Oracle install any help would be
appreciated.
I am running Solaris10 (1/06 Sparc) and Oracle 10g.







Thank you,



John Weaver



Please look at my log file attached





.



Relevant Pages

  • Re: :Oracle make test problem
    ... All the Oracle tests run and pass, so there's nothing apparently wrong on ... They fail because Oracle has hijacked the SIGCHLD signal handler. ...
    (perl.dbi.users)
  • RE: :Oracle make test problem
    ... The two failed tests aren't Oracle tests, but are checking how exit codes ... Subject: DBD::Oracle make test problem ...
    (perl.dbi.users)
  • Re: make test fails on DBD::Oracle - t/26exe_array fail
    ... test #2 I have reported it to Oracle but they are quite on the matter. ... we should get a warning ... Failed Test Stat Wstat Total Fail List of Failed ... Test Summary Report ...
    (perl.dbi.users)
  • Re: Oracle - java - get xmlType col into resultset
    ... and rs.getStringgives me full xml document ... I've already posted it in Oracle group but no answer. ... handler); ... I get exception when using getCharacterStream: ...
    (comp.lang.java.programmer)
  • DBMS_JOB Auto-Rerun Behaviour
    ... I have a question about the DBMS_JOB auto-rerun behaviour in an Oracle ... 8i database. ... We have a job running that will fail if the job has already been ...
    (comp.databases.oracle.server)