summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/t/base/if.t
blob: be86d4c393395126ff93a7c2d2ee95ea08546151 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!./perl

print "1..2\n";

# first test to see if we can run the tests.

$x = 'test';
if ($x eq $x) { print "ok 1 - if eq\n"; } else { print "not ok 1 - if eq\n";}
if ($x ne $x) { print "not ok 2 - if ne\n"; } else { print "ok 2 - if ne\n";}