[Rt-commit] r8336 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: lib/RT
jesse at bestpractical.com
jesse at bestpractical.com
Tue Jul 31 17:43:19 EDT 2007
Author: jesse
Date: Tue Jul 31 17:43:19 2007
New Revision: 8336
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Test.pm
Log:
r64960 at pinglin: jesse | 2007-07-31 17:42:08 -0400
* only complain when tsting if the user hasn't defined the values, not if they're null
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Test.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Test.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/lib/RT/Test.pm Tue Jul 31 17:43:19 2007
@@ -72,7 +72,7 @@
my $self = shift;
my %args = @_;
- unless ($ENV{'RT_DBA_USER'} && $ENV{'RT_DBA_PASSWORD'}) {
+ unless (defined $ENV{'RT_DBA_USER'} && defined $ENV{'RT_DBA_PASSWORD'}) {
die "RT_DBA_USER and RT_DBA_PASSWORD environment variables need to be set in order to run 'make test'";
}
# bootstrap with dba cred
More information about the Rt-commit
mailing list