diff --git a/debian/changelog b/debian/changelog index 2b5ce84..8ff6b45 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ xen-tools (4.6+dev-1) UNRELEASED; urgency=medium + Declare GitHub as primary hosting. + Integrate BUGS.markdown into README.markdown, move remaining contents of KNOWN_BUGS.markdown to the GitHub issue tracker. + + Fix Perl warning in t/hook-inittab.t if /etc/inittab isn't present. + - Fixes failed autopkgtest. * Update Vcs-* headers to point to GitHub instead of GitLab. -- Axel Beckert Tue, 21 Jul 2015 12:04:41 +0200 diff --git a/t/hook-inittab.t b/t/hook-inittab.t index 964eb53..f8c65c8 100755 --- a/t/hook-inittab.t +++ b/t/hook-inittab.t @@ -16,14 +16,12 @@ my $hook_dir = $ENV{AS_INSTALLED_TESTING} ? '/usr/share/xen-tools' : 'hooks'; # # Check if build system has /etc/inittab. # -SKIP: { - skip '/etc/inittab not present' unless -e "/etc/inittab"; - -# -# Rather than having a hardwired list of distributions to test -# against we look for subdirectories beneath hooks/ and test each -# one. -# +if (-e "/etc/inittab") { + # + # Rather than having a hardwired list of distributions to test + # against we look for subdirectories beneath hooks/ and test each + # one. + # foreach my $dir ( glob( "$hook_dir/*" ) ) { next if ( $dir =~ /CVS/i ); @@ -39,8 +37,9 @@ SKIP: { testHook( $dist ); } } -} # SKIP - +} else { + plan skip_all => '/etc/inittab not present'; +} done_testing();