Hi

Currently the regression tests fail when using a locale that produces
something else than "No such file or directory". Please apply the
attached patch.

bye,

-christian-
--- t/06attrs.t.orig    2003-01-21 20:12:21.000000000 +0100
+++ t/06attrs.t 2003-01-21 20:13:12.000000000 +0100
@@ -3,11 +3,15 @@
 use strict;
 use Test;
 use DBI;
+use POSIX qw(setlocale LC_ALL);
 
 BEGIN { plan tests => 125 }
 
 $|=1;
 
+# For the error messages in the statement handle tests.
+setlocale(LC_ALL, "C");
+
 # Connect to the example driver.
 ok( my $dbh = DBI->connect('dbi:ExampleP:dummy', '', '',
                            { PrintError => 0,

Reply via email to