This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: updated patch on the sysread, syswrite for VMS
[perl5.git] / t / op / glob.t
CommitLineData
a687059c
LW
1#!./perl
2
79072805 3# $RCSfile: glob.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:55 $
a687059c
LW
4
5print "1..4\n";
6
fe14fcc3 7@ops = <op/*>;
a687059c 8
adbc4883
CB
9map { $files{$_}++ } <op/*>;
10map { delete $files{$_} } split /[\s\n]/, `echo op/*`;
11if (keys %files) {
12 print "not ok 1\t(",join(' ', sort keys %files),"\n";
13} else { print "ok 1\n"; }
a687059c
LW
14
15print $/ eq "\n" ? "ok 2\n" : "not ok 2\n";
16
fe14fcc3 17while (<jskdfjskdfj* op/* jskdjfjkosvk*>) {
a687059c
LW
18 $not = "not " unless $_ eq shift @ops;
19 $not = "not at all " if $/ eq "\0";
20}
21print "${not}ok 3\n";
22
23print $/ eq "\n" ? "ok 4\n" : "not ok 4\n";