]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: drop unnecessary log level setup
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 14 Aug 2023 17:12:08 +0000 (19:12 +0200)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 14 Aug 2023 17:31:20 +0000 (19:31 +0200)
As we do that globally via a dropin.

test/units/testsuite-07.issue-14566.sh
test/units/testsuite-07.main-PID-change.sh

index e17c3934c1d4aafd287ea04bd4229a9891cef721..d4be5b53b40ed47a3dcf502fd99e6299b6e7975b 100755 (executable)
@@ -13,8 +13,6 @@ if [[ -n "${ASAN_OPTIONS:-}" ]]; then
     exit 0
 fi
 
-systemd-analyze log-level debug
-
 systemctl start issue14566-repro
 sleep 4
 systemctl status issue14566-repro
@@ -28,4 +26,4 @@ sleep 4
 # I personally prefer to see 42.
 ps -p "$leaked_pid" && exit 42
 
-systemd-analyze log-level info
+exit 0
index 6d302452af885f05e642556cc881df8cabe431b1..bd1144c6f2e5290f7758f8b02fafde156945d0c4 100755 (executable)
@@ -8,8 +8,6 @@ set -o pipefail
 # shellcheck source=test/units/util.sh
 . "$(dirname "$0")"/util.sh
 
-systemd-analyze log-level debug
-
 # The main service PID should be the parent bash process
 MAINPID="${PPID:?}"
 test "$(systemctl show -P MainPID testsuite-07.service)" -eq "$MAINPID"
@@ -172,5 +170,3 @@ test "$(systemctl show -P Result test-true.scope)" = success
 systemctl start user@4711.service
 runas testuser systemd-run --scope --user --unit test-true.scope /bin/true
 test "$(systemctl show -P Result test-true.scope)" = success
-
-systemd-analyze log-level info