]> git.uio.no Git - usit-rt.git/blobdiff - lib/RT/Test.pm
Dev to 4.0.11
[usit-rt.git] / lib / RT / Test.pm
index 467905c70aba57f14606268af95190ca5eb8a027..d1eb05f839b38aea73e132a800ee49f1a8b581d4 100644 (file)
@@ -111,6 +111,8 @@ sub import {
     my $class = shift;
     my %args = %rttest_opt = @_;
 
+    $rttest_opt{'nodb'} = $args{'nodb'} = 1 if $^C;
+
     # Spit out a plan (if we got one) *before* we load modules
     if ( $args{'tests'} ) {
         plan( tests => $args{'tests'} )