Committed by Greg Sabino Mullane <[email protected]>

Make error message detection locale proof; should help
tests pass

---
 t/dbdpg_test_setup.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/t/dbdpg_test_setup.pl b/t/dbdpg_test_setup.pl
index b21c390..0235589 100644
--- a/t/dbdpg_test_setup.pl
+++ b/t/dbdpg_test_setup.pl
@@ -117,7 +117,7 @@ version: $version
                        1;
                };
 
-               if ($@ =~ /invalid connection option/ or $@ =~ 
/failed:.*"dbbarf"/) {
+               if ($@ =~ /invalid connection option/ or $@ =~ /"dbbarf"/) {
                        return $helpconnect, $@, undef;
                }
 
-- 
1.8.4

Reply via email to