IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2008, 12:18:51 PM (18 years ago)
Author:
jhoblitt
Message:

pickup test DB settings from the env.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/t/Test/Nebulous.pm

    r16281 r16354  
    11# Copyright (C) 2004  Joshua Hoblitt
    22#
    3 # $Id: Nebulous.pm,v 1.16 2008-02-02 01:51:29 jhoblitt Exp $
     3# $Id: Nebulous.pm,v 1.17 2008-02-07 22:17:45 jhoblitt Exp $
    44
    55package Test::Nebulous;
     
    1818our @EXPORT = qw( $NEB_DB $NEB_USER $NEB_PASS );
    1919
    20 our $NEB_DB   = "DBI:mysql:database=nebulous:host=localhost";
    21 our $NEB_USER = "nebulous";
    22 our $NEB_PASS = '@neb@';
     20our $NEB_DB     = $ENV{'NEB_DB'}   || "DBI:mysql:database=test:host=localhost";
     21our $NEB_USER   = $ENV{'NEB_USER'} || "test";
     22our $NEB_PASS   = $ENV{'NEB_PASS'} || '';
    2323
    2424my $dbh = DBI->connect( $NEB_DB, $NEB_USER, $NEB_PASS );
Note: See TracChangeset for help on using the changeset viewer.