[interchange] Revert "* Work around unit test problem caused by UTF-8."
David Christensen <[email protected]> Mon, 02 May 2016 20:39:55 +0000
| Newsgroups | gmane.comp.web.interchange.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit 7719042bee3712f4681e2f219989883f01193ff2 Author: David Christensen <[email protected]> Date: Thu Apr 7 17:56:46 2016 -0500 Revert "* Work around unit test problem caused by UTF-8." This reverts commit 6f3c3bc345fc08078f017041a95b985b9b88d22f. lib/Vend/Safe.pm | 4 +--- test.pl | 3 --- 2 files changed, 1 insertions(+), 6 deletions(-) --- diff --git a/lib/Vend/Safe.pm b/lib/Vend/Safe.pm index 9b26636..19a9620 100644 --- a/lib/Vend/Safe.pm +++ b/lib/Vend/Safe.pm @@ -35,9 +35,7 @@ sub new { my ($invocant, @args) = @_; my $safe = Safe->new(@args); - - ## UTF-8 may cause testing problems on some systems - $invocant->initialize_safe_compartment($safe) unless $ENV{MINIVEND_TEST}; + $invocant->initialize_safe_compartment($safe); return $safe; } diff --git a/test.pl b/test.pl index 5248c84..db46654 100644 --- a/test.pl +++ b/test.pl @@ -30,9 +30,6 @@ if($^O =~ /cygwin|win32/) { die "Must be in build directory\n" unless -d 'blib'; die "No tests defined for Windows\n" if $^O =~ /win32/i; -### This tells certain modules to ignore some initialization when doing unit tests -$ENV{MINIVEND_TEST} = 1; - $ENV{MINIVEND_ROOT} = "$cur_dir/blib"; $ENV{MINIVEND_PORT} = 8786 unless defined $ENV{MINIVEND_PORT};