summaryrefslogtreecommitdiff
path: root/t/storable.t
diff options
context:
space:
mode:
Diffstat (limited to 't/storable.t')
-rw-r--r--t/storable.t16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/storable.t b/t/storable.t
new file mode 100644
index 0000000..cf6e65a
--- /dev/null
+++ b/t/storable.t
@@ -0,0 +1,16 @@
+use strict;
+use warnings;
+
+eval {
+ require Storable;
+ print "1..3\n";
+};
+if ($@) {
+ print "1..0 # skipped: Needs the Storable module installed\n";
+ exit;
+}
+
+system($^X, "-Iblib/lib", "t/storable-test.pl", "store");
+system($^X, "-Iblib/lib", "t/storable-test.pl", "retrieve");
+
+unlink('urls.sto');