]> ruderich.org/simon Gitweb - blhc/blhc.git/blobdiff - t/tests.t
Fix buildd architecture detection.
[blhc/blhc.git] / t / tests.t
index 03302242367685cbf58387c3dbc3604c705b93ed..20d323cc142ff03ef39c997abec5e29148bb2e0b 100644 (file)
--- a/t/tests.t
+++ b/t/tests.t
@@ -19,7 +19,7 @@
 use strict;
 use warnings;
 
-use Test::More tests => 206;
+use Test::More tests => 212;
 
 
 sub is_blhc {
@@ -840,6 +840,12 @@ is_blhc 'dpkg-buildpackage-architecture-old', '', 0,
         '';
 
 
+# correct architecture detection
+
+is_blhc 'buildd-architecture',     '', 0, '';
+is_blhc 'buildd-architecture-old', '', 0, '';
+
+
 # ignore architecture
 
 is_blhc ['arch-avr32', 'arch-i386', 'empty', 'arch-mipsel'],
@@ -884,6 +890,8 @@ my $debian_hardening_wrapper =
 ';
 is_blhc 'debian-hardening-wrapper', '', 16,
         $debian_hardening_wrapper;
+is_blhc 'debian-hardening-wrapper-old-build-depends', '', 16,
+        $debian_hardening_wrapper;
 is_blhc 'debian-hardening-wrapper-pbuilder', '', 16,
         $debian_hardening_wrapper;