autogenerate API listing from comments in the source (from Benjamin
[p5sagit/p5-mst-13.2.git] / t / lib / io_unix.t
index e1c89c4..0e559e0 100644 (file)
@@ -5,6 +5,10 @@ BEGIN {
         chdir 't' if -d 't';
         unshift @INC, '../lib' if -d '../lib';
     }
+    # ``use IO::Socket'' executes too early below in the os2 block
+    if ($^O eq 'dos') {
+        print "1..0 # Skip: no fork\n";
+    }
 }
 
 use Config;
@@ -27,6 +31,8 @@ BEGIN {
            eval {IO::Socket::pack_sockaddr_un('/tmp/foo') || 1}
              or $@ !~ /not implemented/ or
                $reason = 'compiled without TCP/IP stack v4';
+       } elsif ($^O eq 'qnx') {
+           $reason = 'Not implemented';
        }
        undef $reason if $^O eq 'VMS' and $Config{d_socket};
        if ($reason) {