summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-02-07 12:08:07 +0900
committerGitHub <noreply@github.com>2023-02-07 12:08:07 +0900
commit8586e8ab84b46d22ce904a84b6f1c3f798dad24e (patch)
tree507ab0ec53cda8eaa15e6d22a59f94d2f395d823 /test
parent5746c8296818e68b2a06fcc783850422d46c5ef4 (diff)
parentdd15e4cb57129b915e01495e113696bfe0b70214 (diff)
downloadsystemd-8586e8ab84b46d22ce904a84b6f1c3f798dad24e.tar.gz
Merge pull request #26324 from yuwata/argv-util-update-short-name
argv-util: also update short invocation name
Diffstat (limited to 'test')
-rw-r--r--test/testsuite-04.units/logs-filtering.service1
-rwxr-xr-xtest/units/testsuite-04.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/testsuite-04.units/logs-filtering.service b/test/testsuite-04.units/logs-filtering.service
index fc89021ca9..06210868fd 100644
--- a/test/testsuite-04.units/logs-filtering.service
+++ b/test/testsuite-04.units/logs-filtering.service
@@ -3,3 +3,4 @@ Description=Log filtering unit
[Service]
ExecStart=sh -c 'while true; do echo "Logging from the service, and ~more~"; sleep .25; done'
+SyslogLevel=notice
diff --git a/test/units/testsuite-04.sh b/test/units/testsuite-04.sh
index 2874fc778f..d10a9afbf7 100755
--- a/test/units/testsuite-04.sh
+++ b/test/units/testsuite-04.sh
@@ -199,7 +199,7 @@ function run_service_and_fetch_logs() {
journalctl --sync
END=$(date '+%Y-%m-%d %T.%6N')
- journalctl -q -u "$UNIT" -S "$START" -U "$END" | grep -Pv "systemd\[[0-9]+\]"
+ journalctl -q -u "$UNIT" -S "$START" -U "$END" -p notice
systemctl stop "$UNIT"
}