Anonymous avatar 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.