Re: ANNOUNCE: DBD::Oracle 1.22 Release Candidate 2

Tim Bunce <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Mon, Jul 28, 2008 at 05:35:14PM -0400, John Scoles wrote:
> Gisle Aas wrote:
>> On Jul 28, 2008, at 18:06, John Scoles wrote:
>>
>>> Ok hot off the press  RC2
>>>
>>> I have fixed as much as I can of the different compiler warnings 
>>> hopefully this will be a little better.
>>>
>>> You can find the RC here
>>>
>>> http://svn.perl.org/modules/dbd-oracle/trunk/DBD-Oracle-1.22-RC2.tar
>>
>> I tried it on our Linux build box and got test failures in 
>> t/31lob_extended.t.  Any advice on what I need to do?
>> --Gisle
>>
>>  perl -Mblib t/31lob_extended.t
>> DBD::Oracle::db do failed: ORA-01031: insufficient privileges (DBD ERROR: 
>> OCIStmtExecute) [for Statement "CREATE OR REPLACE PROCEDURE 
>> p_DBD_Oracle_drop_me(pc OUT
>
> Ok that is an easy one. This is not a DBD::Oracle or DBI error it simply 
> means the user you are running the test as does not have the privileges to 
> create an stored procedure.  Grand your user some more rights and the test 
> should pass.

Sure, but tests shouldn't fail just because of a lack of privs.
The test needs to detect that and do a skip().

Tim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.