xref: /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/base/pat.t (revision 0:68f95e015346)
1*0Sstevel@tonic-gate#!./perl
2*0Sstevel@tonic-gate
3*0Sstevel@tonic-gate# $RCSfile: pat.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:05 $
4*0Sstevel@tonic-gate
5*0Sstevel@tonic-gateprint "1..2\n";
6*0Sstevel@tonic-gate
7*0Sstevel@tonic-gate# first test to see if we can run the tests.
8*0Sstevel@tonic-gate
9*0Sstevel@tonic-gate$_ = 'test';
10*0Sstevel@tonic-gateif (/^test/) { print "ok 1\n"; } else { print "not ok 1\n";}
11*0Sstevel@tonic-gateif (/^foo/) { print "not ok 2\n"; } else { print "ok 2\n";}
12