test-repart: append /sbin and /usr/sbin to $PATH= to make sfdisk can be found
Fixes #21972.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user