[Rt-commit] rt branch, 4.0/ignore-local-rtrc, created. rt-4.0.1-205-gbf3c6ab

Thomas Sibley trs at bestpractical.com
Fri Jul 29 15:34:04 EDT 2011


The branch, 4.0/ignore-local-rtrc has been created
        at  bf3c6abcffe575b73994d2ead4b37c7d0e819282 (commit)

- Log -----------------------------------------------------------------
commit bf3c6abcffe575b73994d2ead4b37c7d0e819282
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Fri Jul 29 15:32:23 2011 -0400

    Explicitly ignore $HOME/.rtrc when running bin/rt tests
    
    Queue lines in the bin/rt config file can cause tests to fail.

diff --git a/t/web/command_line.t b/t/web/command_line.t
index c67727b..1fed8e6 100644
--- a/t/web/command_line.t
+++ b/t/web/command_line.t
@@ -37,6 +37,7 @@ $ENV{'RTSERVER'} =RT->Config->Get('WebBaseURL') ;
 $ENV{'RTDEBUG'} = '1';
 #    - RTCONFIG      Specifies a name other than ".rtrc" for the
 #                    configuration file.
+$ENV{'RTCONFIG'} = '/dev/null';
 #
 #    - RTQUERY       Default RT Query for rt list
 #    - RTORDERBY     Default order for rt list
diff --git a/t/web/command_line_with_unknown_field.t b/t/web/command_line_with_unknown_field.t
index 426d90b..736be4d 100644
--- a/t/web/command_line_with_unknown_field.t
+++ b/t/web/command_line_with_unknown_field.t
@@ -12,6 +12,7 @@ $ENV{'RTPASSWD'} = 'password';
 $RT::Logger->debug("Connecting to server at ".RT->Config->Get('WebBaseURL'));
 $ENV{'RTSERVER'} =RT->Config->Get('WebBaseURL') ;
 $ENV{'RTDEBUG'} = '1';
+$ENV{'RTCONFIG'} = '/dev/null';
 
 expect_run(
     command => "$rt_tool_path shell",

-----------------------------------------------------------------------


More information about the Rt-commit mailing list