summaryrefslogtreecommitdiff
path: root/FS/test.pl
diff options
context:
space:
mode:
authorivan <ivan>1999-08-04 04:15:20 +0000
committerivan <ivan>1999-08-04 04:15:20 +0000
commit1e3eae905b861761f93643aa5fce14a8be5d9ed2 (patch)
tree148aab77eb40a1cfc2bc5803d77c095858b94aac /FS/test.pl
parent9f2781f5d45997c856e1930757daa2cb1d5cddcc (diff)
initial h2xs
Diffstat (limited to 'FS/test.pl')
-rw-r--r--FS/test.pl20
1 files changed, 20 insertions, 0 deletions
diff --git a/FS/test.pl b/FS/test.pl
new file mode 100644
index 000000000..dc3726236
--- /dev/null
+++ b/FS/test.pl
@@ -0,0 +1,20 @@
+# Before `make install' is performed this script should be runnable with
+# `make test'. After `make install' it should work as `perl test.pl'
+
+######################### We start with some black magic to print on failure.
+
+# Change 1..1 below to 1..last_test_to_print .
+# (It may become useful if the test is moved to ./t subdirectory.)
+
+BEGIN { $| = 1; print "1..1\n"; }
+END {print "not ok 1\n" unless $loaded;}
+use FS;
+$loaded = 1;
+print "ok 1\n";
+
+######################### End of black magic.
+
+# Insert your test code below (better if it prints "ok 13"
+# (correspondingly "not ok 13") depending on the success of chunk 13
+# of the test code):
+