This queue is for tickets about the CGI-Session CPAN distribution.

Report information
The Basics
Id:
2266
Status:
resolved
Priority:
Low/Low
Queue:

People
Owner:
Nobody in particular
Requestors:
david [...] hisel.com
Cc:
AdminCc:

BugTracker
Severity:
Normal
Broken in:
3.93
Fixed in:
(no value)



Subject: test script needs to check for db_file
In the file: t/api3_obj_store_db_file.t there is no check to see if DB_file is available. Since I don't have db installed, this causes the CPAN::Shell install to fail. I added: BEGIN { # Check if DB_File is avaialble. Otherwise, skip this test eval 'require DB_File'; if ( $@ ) { print "1..0\n"; exit(0); } }; to the beginning and now it skips this test if DB_File is not available.
Date: Thu, 20 Mar 2003 12:25:04 -0700 (MST)
From: Sherzod Ruzmetov <sherzodr@handalak.com>
To: Guest via RT <bug-CGI-Session@rt.cpan.org>
Subject: Re: [cpan #2266] test script needs to check for db_file
RT-Send-Cc:
Thanks for the note. I'll make sure to add the fix for the next release Sherzod : :This message about CGI-Session was sent to you by guest <> via rt.cpan.org : :Full context and any attached attachments can be found at: :<URL: https://rt.cpan.org/Ticket/Display.html?id=2266 > : :In the file: t/api3_obj_store_db_file.t there is no check to see if DB_file is available. Since I don't have db installed, this causes the CPAN::Shell install to fail. : :I added: :BEGIN { : # Check if DB_File is avaialble. Otherwise, skip this test : eval 'require DB_File'; : if ( $@ ) { : print "1..0\n"; : exit(0); : } :}; : :to the beginning and now it skips this test if DB_File is not available. :
Done. Thanks


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.