]> git.donarmstrong.com Git - debhelper.git/commitdiff
Include Debian/Debhelper subdirs in syntax check.
authorModestas Vainius <modestas@vainius.eu>
Thu, 11 Jun 2009 00:18:34 +0000 (03:18 +0300)
committerModestas Vainius <modestas@vainius.eu>
Thu, 11 Jun 2009 00:18:34 +0000 (03:18 +0300)
t/syntax

index f80fa97cfaea4c53b0b019ae1dcfcb669a5731ea..92455457ef143b704b4745a0a9256d96f25747d7 100755 (executable)
--- a/t/syntax
+++ b/t/syntax
@@ -2,7 +2,7 @@
 use Test;
 
 my @progs=grep { -x $_ } glob("dh_*"), "dh";
-my @libs=glob("Debian/Debhelper/*.pm");
+my @libs=(glob("Debian/Debhelper/*.pm"), glob("Debian/Debhelper/*/*.pm"));
 
 plan(tests => (@progs + @libs));