X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=1.17%2Ft%2F06_cal.t;fp=1.17%2Ft%2F06_cal.t;h=547113c449ec94bbd8997d4fc0aaad8ded6489ef;hb=1aced5435f99c2faf1af0eca945374099063fbc5;hp=0000000000000000000000000000000000000000;hpb=36de36eb82dffed27739d6d353669a1e80570de5;p=deb_pkgs%2Flibhtml-calendarmonth-perl.git diff --git a/1.17/t/06_cal.t b/1.17/t/06_cal.t new file mode 100755 index 0000000..547113c --- /dev/null +++ b/1.17/t/06_cal.t @@ -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); +}