projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31cf588
)
test-repart: append /sbin and /usr/sbin to $PATH= to make sfdisk can be found
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Sun, 2 Jan 2022 20:13:59 +0000
(
05:13
+0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 5 Jan 2022 00:31:28 +0000
(09:31 +0900)
Fixes #21972.
src/partition/test-repart.sh
patch
|
blob
|
history
diff --git
a/src/partition/test-repart.sh
b/src/partition/test-repart.sh
index eb7012f59ec0700c569826463a83fb023de47b2d..d50a79a15e17a3c6389fa3a8026bbca2941befe3 100755
(executable)
--- 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