diff options
Diffstat (limited to 'contrib/perl5/t/base/if.t')
-rwxr-xr-x | contrib/perl5/t/base/if.t | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/contrib/perl5/t/base/if.t b/contrib/perl5/t/base/if.t new file mode 100755 index 000000000000..12db7652e49b --- /dev/null +++ b/contrib/perl5/t/base/if.t @@ -0,0 +1,11 @@ +#!./perl + +# $RCSfile: if.t,v $$Revision: 4.1 $$Date: 92/08/07 18:27:03 $ + +print "1..2\n"; + +# first test to see if we can run the tests. + +$x = 'test'; +if ($x eq $x) { print "ok 1\n"; } else { print "not ok 1\n";} +if ($x ne $x) { print "not ok 2\n"; } else { print "ok 2\n";} |