3 # $Header: cond.t,v 4.0 91/03/20 01:48:54 lwall Locked $
5 # make sure conditional operators work
11 $x eq $x && (print "ok 1\n");
12 $x ne $x && (print "not ok 1\n");
13 $x eq $x || (print "not ok 2\n");
14 $x ne $x || (print "ok 2\n");
16 $x == $x && (print "ok 3\n");
17 $x != $x && (print "not ok 3\n");
18 $x == $x || (print "not ok 4\n");
19 $x != $x || (print "ok 4\n");