Commits

Anonymous committed 40c0014

Apply a patch to t/io_multihomed6.t to make sure that the ok's are in order.

Comments (0)

Files changed (2)

modules/IO-Socket-INET6/ChangeLog

+	* Add a fix for t/io_multihomed6.t to make sure 
+	ok 3 will be printed before ok 4. due to many failures in the tests. 
+	Such as:
+		- http://www.cpantesters.org/cpan/report/07413426-b19f-3f77-b713-d32bba55d77f
+	* New Release IO-Socket-INET6-2.65
+
 2010-06-08 Shlomi Fish <shlomif@iglu.org.il>
 	* Applied a patch to fix t/io_multihomed6.t on old Perls / old Linux
 	distributions:

modules/IO-Socket-INET6/t/io_multihomed6.t

     my $fam0 = ( $cl->sockdomain == AF_INET ) ? 'inet':'inet6';
     print {$cl} "ok 2 # $fam0\n";
     print $cl->getline(); # ok 3
+    # So we'll be sure ok 3 has already been printed.
+    print {$cl} "Move on, will ya!\n";
     close($cl);
 
     # ... ok 4 comes when client fails to connect to first
 
     print $cl->getline(); # ok 2
     print {$cl} "ok 3\n";
+    # So we'll be sure ok 3 has already been printed.
+    $cl->getline();
     close($cl);
 
     # this should not work because listener is closed