xref: /openbsd-src/gnu/usr.bin/perl/t/base/if.t (revision 4c1e55dc91edd6e69ccc60ce855900fbc12cf34f)
1#!./perl
2
3print "1..2\n";
4
5# first test to see if we can run the tests.
6
7$x = 'test';
8if ($x eq $x) { print "ok 1\n"; } else { print "not ok 1\n";}
9if ($x ne $x) { print "not ok 2\n"; } else { print "ok 2\n";}
10