test: drop unnecessary log level setup
As we do that globally via a dropin.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user