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