summaryrefslogtreecommitdiff
path: root/test/hwdb-test.sh
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 /test/hwdb-test.sh
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 'test/hwdb-test.sh')
-rwxr-xr-xtest/hwdb-test.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/hwdb-test.sh b/test/hwdb-test.sh
index 68c7692eca..a1f3270b64 100755
--- a/test/hwdb-test.sh
+++ b/test/hwdb-test.sh
@@ -22,6 +22,7 @@
set -e
+export SYSTEMD_LOG_LEVEL=info
ROOTDIR=$(dirname $(dirname $(readlink -f $0)))
SYSTEMD_HWDB=./systemd-hwdb