Skip to content

Commit

Permalink
dev-util/tup: fail src_test if no /dev/fuse
Browse files Browse the repository at this point in the history
It fails anyway (see bug 664768).
Provide user with clear error message.

No revbump for 0.7.7 as the change doesn't affect successful
installations.

Bug: https://bugs.gentoo.org/664768
Package-Manager: Portage-2.3.49, Repoman-2.3.12
Signed-off-by: Andrey Utkin <[email protected]>
  • Loading branch information
Andrey Utkin committed Dec 2, 2018
1 parent 8753de7 commit 066dc8d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-util/tup/tup-0.7.7.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ src_install() {
}

src_test() {
[[ -e /dev/fuse ]] || die "/dev/fuse is required for tests to work"
# tup uses fuse when tracking dependencies.
addwrite /dev/fuse

Expand Down
1 change: 1 addition & 0 deletions dev-util/tup/tup-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ src_install() {
}

src_test() {
[[ -e /dev/fuse ]] || die "/dev/fuse is required for tests to work"
# tup uses fuse when tracking dependencies.
addwrite /dev/fuse

Expand Down

0 comments on commit 066dc8d

Please sign in to comment.