1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-03 01:17:45 +03:00

test-repart: append /sbin and /usr/sbin to $PATH= to make sfdisk can be found

Fixes #21972.

(cherry picked from commit 329a5b91d9)
This commit is contained in:
Yu Watanabe 2022-01-03 05:13:59 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent 6f1f99a35d
commit 80f1b9ab54

View File

@ -8,6 +8,8 @@ set -o pipefail
repart="${1:?}"
test -x "$repart"
PATH=$PATH:/sbin:/usr/sbin
D="$(mktemp --tmpdir --directory "test-repart.XXXXXXXXXX")"
# shellcheck disable=SC2064