From: Yu Watanabe Date: Sun, 2 Jan 2022 20:13:59 +0000 (+0900) Subject: test-repart: append /sbin and /usr/sbin to $PATH= to make sfdisk can be found X-Git-Tag: v251-rc1~591^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F21974%2Fhead;p=thirdparty%2Fsystemd.git test-repart: append /sbin and /usr/sbin to $PATH= to make sfdisk can be found Fixes #21972. --- diff --git a/src/partition/test-repart.sh b/src/partition/test-repart.sh index eb7012f59ec..d50a79a15e1 100755 --- a/src/partition/test-repart.sh +++ b/src/partition/test-repart.sh @@ -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