1 |
commit: c9e74052e1dd96d3c73c952c0fa89f771445430d |
2 |
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 23 09:13:31 2020 +0000 |
4 |
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 23 09:13:58 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9e74052 |
7 |
|
8 |
dev-ruby/file-tail: avoid test with race condition |
9 |
|
10 |
Closes: https://bugs.gentoo.org/723822 |
11 |
Package-Manager: Portage-2.3.99, Repoman-2.3.22 |
12 |
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> |
13 |
|
14 |
dev-ruby/file-tail/file-tail-1.2.0.ebuild | 4 ++++ |
15 |
1 file changed, 4 insertions(+) |
16 |
|
17 |
diff --git a/dev-ruby/file-tail/file-tail-1.2.0.ebuild b/dev-ruby/file-tail/file-tail-1.2.0.ebuild |
18 |
index 2a1cd8f2923..4d1d4ec10c7 100644 |
19 |
--- a/dev-ruby/file-tail/file-tail-1.2.0.ebuild |
20 |
+++ b/dev-ruby/file-tail/file-tail-1.2.0.ebuild |
21 |
@@ -27,6 +27,10 @@ IUSE="" |
22 |
ruby_add_rdepend "=dev-ruby/tins-1*" |
23 |
ruby_add_bdepend "test? ( >=dev-ruby/test-unit-2.5.1-r1 )" |
24 |
|
25 |
+all_ruby_prepare() { |
26 |
+ sed -i -e '/test_tail_change2/aomit "has race condition"' tests/file_tail_test.rb || die |
27 |
+} |
28 |
+ |
29 |
each_ruby_test() { |
30 |
ruby-ng_testrb-2 -Ilib tests/*_test.rb |