1 |
commit: 066dc8d64640f78bb7d93a0a489d61ce5b1efef9 |
2 |
Author: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 2 02:02:56 2018 +0000 |
4 |
Commit: Andrey Utkin <andrey_utkin <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 2 02:46:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=066dc8d6 |
7 |
|
8 |
dev-util/tup: fail src_test if no /dev/fuse |
9 |
|
10 |
It fails anyway (see bug 664768). |
11 |
Provide user with clear error message. |
12 |
|
13 |
No revbump for 0.7.7 as the change doesn't affect successful |
14 |
installations. |
15 |
|
16 |
Bug: https://bugs.gentoo.org/664768 |
17 |
Package-Manager: Portage-2.3.49, Repoman-2.3.12 |
18 |
Signed-off-by: Andrey Utkin <andrey_utkin <AT> gentoo.org> |
19 |
|
20 |
dev-util/tup/tup-0.7.7.ebuild | 1 + |
21 |
dev-util/tup/tup-9999.ebuild | 1 + |
22 |
2 files changed, 2 insertions(+) |
23 |
|
24 |
diff --git a/dev-util/tup/tup-0.7.7.ebuild b/dev-util/tup/tup-0.7.7.ebuild |
25 |
index e248bb29dc6..194cf670515 100644 |
26 |
--- a/dev-util/tup/tup-0.7.7.ebuild |
27 |
+++ b/dev-util/tup/tup-0.7.7.ebuild |
28 |
@@ -69,6 +69,7 @@ src_install() { |
29 |
} |
30 |
|
31 |
src_test() { |
32 |
+ [[ -e /dev/fuse ]] || die "/dev/fuse is required for tests to work" |
33 |
# tup uses fuse when tracking dependencies. |
34 |
addwrite /dev/fuse |
35 |
|
36 |
|
37 |
diff --git a/dev-util/tup/tup-9999.ebuild b/dev-util/tup/tup-9999.ebuild |
38 |
index e248bb29dc6..194cf670515 100644 |
39 |
--- a/dev-util/tup/tup-9999.ebuild |
40 |
+++ b/dev-util/tup/tup-9999.ebuild |
41 |
@@ -69,6 +69,7 @@ src_install() { |
42 |
} |
43 |
|
44 |
src_test() { |
45 |
+ [[ -e /dev/fuse ]] || die "/dev/fuse is required for tests to work" |
46 |
# tup uses fuse when tracking dependencies. |
47 |
addwrite /dev/fuse |