diff options
author | Larry Wall <lwall@netlabs.com> | 1991-03-21 00:00:00 +0000 |
---|---|---|
committer | Larry Wall <lwall@netlabs.com> | 1991-03-21 00:00:00 +0000 |
commit | fe14fcc35f78a371a174a1d14256c2f35ae4262b (patch) | |
tree | d472cb1055c47b9701cb0840969aacdbdbc9354a /t/op/glob.t | |
parent | 27e2fb84680b9cc1db17238d5bf10b97626f477f (diff) | |
download | perl-fe14fcc35f78a371a174a1d14256c2f35ae4262b.tar.gz |
perl 4.0.00: (no release announcement available)perl-4.0.00
So far, 4.0 is still a beta test version. For the last production
version, look in pub/perl.3.0/kits@44.
Diffstat (limited to 't/op/glob.t')
-rw-r--r-- | t/op/glob.t | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/t/op/glob.t b/t/op/glob.t new file mode 100644 index 0000000000..1250a72542 --- /dev/null +++ b/t/op/glob.t @@ -0,0 +1,22 @@ +#!./perl + +# $Header: glob.t,v 4.0 91/03/20 01:52:49 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"; |