X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2Fasync001.phpt;h=4b2a54b5e8c6ae1134580780dc101356ba9a0731;hb=354b98e348b5c972c0dceef5d136316bd3f07d94;hp=9fa2eb70a34aba0df7c85b734051e5543a0795cf;hpb=33f82236a1e9061aba8050399835e82e0531c82b;p=m6w6%2Fext-pq diff --git a/tests/async001.phpt b/tests/async001.phpt index 9fa2eb7..4b2a54b 100644 --- a/tests/async001.phpt +++ b/tests/async001.phpt @@ -8,7 +8,7 @@ echo "Test\n"; include "_setup.inc"; -$c = new pq\Connection(PQ_DSN, false); +$c = new pq\Connection(PQ_DSN, true); $s = array($c->status); echo "W"; $w = array($c->socket); @@ -38,11 +38,12 @@ while (true) { break 2; } } +$s[] = $c->status; printf("\n%s\n", implode(",", $s)); ?> DONE --EXPECTREGEX-- Test (WP(RP)*)+S -3(,\d+),+4 +[23](,\d*)*,0 DONE