perl 4.0 patch 36: (combined patch)
[p5sagit/p5-mst-13.2.git] / t / op / glob.t
CommitLineData
a687059c 1#!./perl
2
fe14fcc3 3# $Header: glob.t,v 4.0 91/03/20 01:52:49 lwall Locked $
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";