X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Ftests.t;h=bb8471b60c5f0608e46bbb82e8875ea8fc22610e;hb=bd14bca33d2d8a8b2b296a62f2e13292a3f58068;hp=f1102a9848c688fdb82643eceb5d807670d13996;hpb=17f9869280cd3b89f8a6a1dd172d03a0871bf786;p=blhc%2Fblhc.git diff --git a/t/tests.t b/t/tests.t index f1102a9..bb8471b 100644 --- a/t/tests.t +++ b/t/tests.t @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 100; +use Test::More tests => 102; sub is_blhc { @@ -46,16 +46,7 @@ sub is_blhc { is_blhc 'empty', '--invalid', 2, 'Unknown option: invalid Usage: - blhc [options] .. - - --all force +all (+pie, +bindnow) check - --arch set architecture (autodetected) - --bindnow force +bindbow check - --buildd parser mode for buildds - --color use colored output - --pie force +pie check - --help available options - --version version number and license + blhc [*options*] *..* '; @@ -582,6 +573,10 @@ is_blhc 'debian-hardening-wrapper', '', 16, # buildd support +is_blhc 'empty', '--buildd', 1, + 'W-no-compiler-commands +'; + is_blhc 'buildd-package-details', '--buildd', 0, '';