source:
vendor/perl/5.8.8/t/win32/getosversion.t@
3181
Last change on this file since 3181 was 3181, checked in by , 18 years ago | |
---|---|
File size: 250 bytes |
Line | |
---|---|
1 | #!perl -w |
2 | |
3 | # tests for Win32::GetOSVersion() |
4 | |
5 | $^O =~ /^MSWin/ or print("1..0 # not win32\n" ), exit; |
6 | |
7 | print "1..1\n"; |
8 | |
9 | my $scalar = Win32::GetOSVersion(); |
10 | my @array = Win32::GetOSVersion(); |
11 | |
12 | print "not " unless $scalar == $array[4]; |
13 | print "ok 1\n"; |
Note:
See TracBrowser
for help on using the repository browser.