for QNX
authorNorton T. Allen <allen@huarp.harvard.edu>
Wed, 4 Jul 2001 22:59:00 +0000 (18:59 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 5 Jul 2001 03:45:19 +0000 (03:45 +0000)
Message-Id: <200107050259.WAA06843@bottesini.harvard.edu>

p4raw-id: //depot/perl@11158

ext/IO/lib/IO/t/io_sock.t

index 1c9bcc7..6b241c5 100755 (executable)
@@ -205,9 +205,15 @@ if ($^O eq 'mpeix') {
 print "not " unless $server->blocking;
 print "ok 13\n";
 
-$server->blocking(0);
-print "not " if $server->blocking;
-print "ok 14\n";
+if ( $^O eq 'qnx' ) {
+  # QNX library bug: Can set non-blocking on socket, but
+  # cannot return that status.
+  print "ok 14 # skipped\n";
+} else {
+  $server->blocking(0);
+  print "not " if $server->blocking;
+  print "ok 14\n";
+}
 
 ### TEST 15
 ### Set up some data to be transfered between the server and