]> git.donarmstrong.com Git - deb_pkgs/libhtml-calendarmonth-perl.git/blobdiff - 1.17/t/06_cal.t
[svn-upgrade] Tagging new upstream version, libhtml-calendarmonth-perl (1.17)
[deb_pkgs/libhtml-calendarmonth-perl.git] / 1.17 / t / 06_cal.t
diff --git a/1.17/t/06_cal.t b/1.17/t/06_cal.t
new file mode 100755 (executable)
index 0000000..547113c
--- /dev/null
@@ -0,0 +1,20 @@
+#!/usr/bin/perl
+
+use strict;
+use FindBin;
+use lib $FindBin::RealBin;
+
+use testload;
+
+my($test_count, $method);
+BEGIN { $test_count = case_count() + 2 ; $method = 'cal' }
+
+use Test::More tests => $test_count;
+
+SKIP: {
+  my $CAL;
+  chomp($CAL = `which cal`);
+  skip("$method not installed", $test_count) unless -x $CAL;
+  check_datetool($method);
+  check_basic_with_datetool($method);
+}