summaryrefslogtreecommitdiff
path: root/t/base/if.t
diff options
context:
space:
mode:
Diffstat (limited to 't/base/if.t')
-rw-r--r--t/base/if.t11
1 files changed, 11 insertions, 0 deletions
diff --git a/t/base/if.t b/t/base/if.t
new file mode 100644
index 0000000000..6965ef5141
--- /dev/null
+++ b/t/base/if.t
@@ -0,0 +1,11 @@
+#!./perl
+
+# $Header: if.t,v 4.0 91/03/20 01:49:03 lwall Locked $
+
+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";}