#!./perl

# $RCSfile: glob.ntt,v $$Revision: 1.1 $$Date: 1996/10/12 21:07:11 $

print "1..4\n";

@ops = <op/*>;
$list = join(' ',@ops);

# WYT 1995-05-02 - rewritten for MS-DOS, wildcard expansion.
#chop($otherway = `echo op/*`);
$otherway = `perl -e "print( join( ' ', \@ARGV ) )" 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";
