Subject: [PATCH 3/5] Test that all the perl code in lintian can run with minimum version of perl

From: Raphael Geissert <[email-masked]>
Date: Sat, 2 May 2009 00:20:39 -0500

So far the newest version required is 5.8.0, so it is the minimum version
we test for.
---
 t/scripts/minimum-version.t |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
 create mode 100644 t/scripts/minimum-version.t

diff --git a/t/scripts/minimum-version.t b/t/scripts/minimum-version.t
new file mode 100644
index 0000000..1cf6561
--- /dev/null
+++ b/t/scripts/minimum-version.t
@@ -0,0 +1,8 @@
+#!/usr/bin/perl -w
+
+use Test::More;
+eval 'use Test::MinimumVersion';
+plan skip_all => 'Test::MinimumVersion required to run this test' if $@;
+
+# sarge was released with 5.8.4, etch with 5.8.8, lenny with 5.10.0
+all_minimum_version_ok('v5.8.0', { paths => [$ENV{'LINTIAN_ROOT'}] });