]> git.donarmstrong.com Git - debhelper.git/blob - t/syntax
dh_install: Add test suite covering the last 5 bugs.
[debhelper.git] / t / syntax
1 #!/usr/bin/perl
2 use Test;
3
4 my @progs=grep { -x $_ } glob("dh_*"), "dh";
5 my @libs=glob("Debian/Debhelper/*.pm");
6
7 plan(tests => (@progs + @libs));
8
9 foreach my $file (@progs, @libs) {
10         print "# Testing $file\n";
11         ok(system("perl -c $file >/dev/null 2>&1"), 0);
12 }