mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
test-29-portable: extend timeout for slower environment
This commit is contained in:
parent
2b6605102d
commit
9fff8e1fdd
@ -5,6 +5,17 @@
|
||||
set -eux
|
||||
set -o pipefail
|
||||
|
||||
# Set longer timeout for slower machines, e.g. non-KVM vm.
|
||||
mkdir -p /run/systemd/system.conf.d
|
||||
cat >/run/systemd/system.conf.d/10-timeout.conf <<EOF
|
||||
DefaultEnvironment=SYSTEMD_DISSECT_VERITY_TIMEOUT_SEC=30
|
||||
ManagerEnvironment=SYSTEMD_DISSECT_VERITY_TIMEOUT_SEC=30
|
||||
EOF
|
||||
|
||||
systemctl daemon-reexec
|
||||
|
||||
export SYSTEMD_DISSECT_VERITY_TIMEOUT_SEC=30
|
||||
|
||||
ARGS=()
|
||||
state_directory=/var/lib/private/
|
||||
if [[ -v ASAN_OPTIONS || -v UBSAN_OPTIONS ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user