X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=t%2Ftests.t;h=e6e254d2849242ac1a7dc62a16f00950e87e5a73;hb=c71bb2f5637f5a0975740b1b1cbb069c8549ead4;hp=5996604ae1443d2e3e24b245c3949d4a00e650df;hpb=6ea14d4128deca3af04b103d1920bb565b62a62e;p=blhc%2Fblhc.git diff --git a/t/tests.t b/t/tests.t index 5996604..e6e254d 100644 --- a/t/tests.t +++ b/t/tests.t @@ -1,6 +1,6 @@ # Tests for blhc. # -# Copyright (C) 2012-2021 Simon Ruderich +# Copyright (C) 2012-2022 Simon Ruderich # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ use strict; use warnings; -use Test::More tests => 244; +use Test::More tests => 246; sub is_blhc { @@ -67,7 +67,7 @@ is_blhc '', '', 2, $usage; is_blhc '', '--version', 0, - 'blhc 0.12 Copyright (C) 2012-2021 Simon Ruderich + 'blhc 0.13 Copyright (C) 2012-2022 Simon Ruderich This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -633,6 +633,10 @@ CPPFLAGS missing (-D_FORTIFY_SOURCE=2): gcc -g -O2 -fstack-protector-strong -Wfo LDFLAGS missing (-fPIE -pie -Wl,-z,relro -Wl,-z,now): gcc -g -O2 -fstack-protector-strong -Wformat -Wformat-security -Werror=format-security test.c -o lib`basename test/test`.so '; +is_blhc 'env', '--all', 8, + 'CPPFLAGS missing (-D_FORTIFY_SOURCE=2): VERSION="`echo hi`" CPP="gcc -x assembler-with-cpp -E -P -Wdate-time -D_FORTIFY_SOURCE=2" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" ../../config/gen-posix-names.sh _SC_ ml_sysconf.h +'; + # check the build log is verbose