From bcae9f4ab8743c9d6886944108fe133816cb486d Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 15 Nov 2015 10:38:39 +0000 Subject: make the output level configurable through LOGLEVEL (--loglevel) valid values are D/I/W/E Closes: #490184 --- t/test_pbuilder-modules | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/test_pbuilder-modules b/t/test_pbuilder-modules index 70504b0..dcc868b 100755 --- a/t/test_pbuilder-modules +++ b/t/test_pbuilder-modules @@ -1,6 +1,7 @@ #!/bin/bash TD="$(dirname "$0")" +LOGLEVEL=I if [ -n "$PBUILDER_CHECKOUT" ]; then . "$TD/testlib.sh" . "$PBUILDER_CHECKOUT/pbuilder-modules" @@ -21,6 +22,7 @@ expect_stderr "W: warning E: error" test_information function test_log() { + log.d "debug" # this should not be printed in LOGLEVEL=I (the default) log.i "info" log.w "warn" log.e "error" -- cgit v1.2.3