[svk-commit] r2153 - trunk/lib/SVK
glasser at bestpractical.com
glasser at bestpractical.com
Fri Nov 17 01:19:17 EST 2006
Author: glasser
Date: Fri Nov 17 01:19:16 2006
New Revision: 2153
Modified:
trunk/lib/SVK/Test.pm
Log:
Don't use the user's .subversion/config during tests. This fixes
the "some MIME-related tests fail for some people" issue.
(Brought to you by "Dave can't take a plane flight without
hacking on SVK".)
(There appears to be an UNEXPECTED PASS in 12copy.t now; will
investigate in next revision.)
* lib/SVK/Test.pm: Set $ENV{SVKNOSVNCONFIG} when module is loaded.
Modified: trunk/lib/SVK/Test.pm
==============================================================================
--- trunk/lib/SVK/Test.pm (original)
+++ trunk/lib/SVK/Test.pm Fri Nov 17 01:19:16 2006
@@ -1,5 +1,10 @@
package SVK::Test;
use strict;
+
+# When running tests, don't let the user's .subversion/config
+# affect results.
+BEGIN { $ENV{SVKNOSVNCONFIG} = 1; }
+
use SVK::Version; our $VERSION = $SVK::VERSION;
use base 'Exporter';
More information about the svk-commit
mailing list