Pack Patch (was Re: 5.002 - pack/unpack does not do "I" right)
[p5sagit/p5-mst-13.2.git] / t / op / glob.t
CommitLineData
a687059c 1#!./perl
2
79072805 3# $RCSfile: glob.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:55 $
a687059c 4
5print "1..4\n";
6
fe14fcc3 7@ops = <op/*>;
a687059c 8$list = join(' ',@ops);
9
fe14fcc3 10chop($otherway = `echo op/*`);
a687059c 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
fe14fcc3 16while (<jskdfjskdfj* op/* jskdjfjkosvk*>) {
a687059c 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";