perl 3.0 patch #22 patch #19, continued
[p5sagit/p5-mst-13.2.git] / t / op.glob
CommitLineData
a687059c 1#!./perl
2
3# $Header: op.glob,v 3.0 89/10/18 15:29:19 lwall Locked $
4
5print "1..4\n";
6
7@ops = <op.*>;
8$list = join(' ',@ops);
9
10chop($otherway = `echo op.*`);
11
12print $list eq $otherway ? "ok 1\n" : "not ok 1\n$list\n$otherway\n";
13
14print $/ eq "\n" ? "ok 2\n" : "not ok 2\n";
15
16while (<jskdfjskdfj* op.* jskdjfjkosvk*>) {
17 $not = "not " unless $_ eq shift @ops;
18 $not = "not at all " if $/ eq "\0";
19}
20print "${not}ok 3\n";
21
22print $/ eq "\n" ? "ok 4\n" : "not ok 4\n";