summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2017-11-26 00:01:55 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2017-11-26 00:01:55 +0900
commit07b3a026433d52deb3d7fd079e0dc13416b364b3 (patch)
treef302fce3e6459a41813aaceed3c33e8b7fc24c03 /tools
parent2482f88d2af827ffd361c65e78e7a83450bff892 (diff)
downloadsystemd-07b3a026433d52deb3d7fd079e0dc13416b364b3.tar.gz
test: set log_level to info in test-hwdb and check-help-*
These tests check the stderr. So, if the systemd.log_level=debug is set in the kernel command line, then these tests fail. This set log_level to info in hwdb-test.sh and meson-check-help.sh, the kernel command line not to change the output of the target programs. Fixes #7362.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/meson-check-help.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/meson-check-help.sh b/tools/meson-check-help.sh
index 47a5099a04..4210491a98 100755
--- a/tools/meson-check-help.sh
+++ b/tools/meson-check-help.sh
@@ -1,5 +1,7 @@
#!/bin/sh -eu
+export SYSTEMD_LOG_LEVEL=info
+
# output width
if "$1" --help | grep -v 'default:' | grep -E -q '.{80}.'; then
echo "$(basename "$1") --help output is too wide:"