diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-25 23:32:05 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-06-25 23:32:05 +0000 |
commit | c9ff6e92c701cadc4c6b6acd410567ed1197d416 (patch) | |
tree | f974a2837ac6dbcc948ad09ac4317989895b81af /ext/POSIX | |
parent | d7e492a42344e01edcc5ba32a1dd5e21f873de40 (diff) | |
download | perl-c9ff6e92c701cadc4c6b6acd410567ed1197d416.tar.gz |
MPE/iX test tweaks from Mark Bixby.
p4raw-id: //depot/perl@10942
Diffstat (limited to 'ext/POSIX')
-rwxr-xr-x | ext/POSIX/POSIX.t | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ext/POSIX/POSIX.t b/ext/POSIX/POSIX.t index 5bb6ab199d..aae4cf37c6 100755 --- a/ext/POSIX/POSIX.t +++ b/ext/POSIX/POSIX.t @@ -20,6 +20,7 @@ print "1..29\n"; $Is_W32 = $^O eq 'MSWin32'; $Is_NetWare = $^O eq 'NetWare'; $Is_Dos = $^O eq 'dos'; +$Is_MPE = $^O eq 'mpeix'; $testfd = open("TEST", O_RDONLY, 0) and print "ok 1\n"; read($testfd, $buffer, 9) if $testfd > 2; @@ -72,7 +73,11 @@ sub SigINT { } } -print &_POSIX_OPEN_MAX > $fds[1] ? "ok 12\n" : "not ok 12\n"; +if ($Is_MPE) { + print "ok 12 # skipped, _POSIX_OPEN_MAX is inaccurate on MPE\n" +} else { + print &_POSIX_OPEN_MAX > $fds[1] ? "ok 12\n" : "not ok 12\n" +} print getcwd() =~ m#/t$# ? "ok 13\n" : "not ok 13\n"; |