Author: turnstep
Date: Sat Feb  6 21:05:42 2010
New Revision: 13815

Modified:
   DBD-Pg/trunk/t/dbdpg_test_setup.pl

Log:
Don't limit stored user name to \w - bug #54372


Modified: DBD-Pg/trunk/t/dbdpg_test_setup.pl
==============================================================================
--- DBD-Pg/trunk/t/dbdpg_test_setup.pl  (original)
+++ DBD-Pg/trunk/t/dbdpg_test_setup.pl  Sat Feb  6 21:05:42 2010
@@ -592,7 +592,7 @@
 
 sub get_test_settings {
 
-       ## Returns test databae information from the testfile if it exists
+       ## Returns test database information from the testfile if it exists
        ## Defaults to ENV variables or blank
 
        ## Find the best candidate for the pg_ctl program
@@ -610,7 +610,7 @@
                                $error .= "\n$_";
                        }
                        /DSN: (.+)/           and $testdsn = $1;
-                       /User: (\w+)/         and $testuser = $1;
+                       /User: (\S+)/         and $testuser = $1;
                        /Helpconnect: (\d+)/  and $helpconnect = $1;
                        /Testowner: (\w+)/    and $su = $1;
                        /Testowneruid: (\d+)/ and $uid = $1;

Reply via email to