commit: 1db1ede6816917812d8ee134da70fd7bdab1fb3a Author: Hans de Graaff <graaff <AT> gentoo <DOT> org> AuthorDate: Sun Oct 23 08:47:18 2022 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Sun Oct 23 10:00:37 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1db1ede6
dev-ruby/console: fix sandbox violation in tests Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org> dev-ruby/console/console-1.16.2.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-ruby/console/console-1.16.2.ebuild b/dev-ruby/console/console-1.16.2.ebuild index 9d18391d436f..94fdee05c54d 100644 --- a/dev-ruby/console/console-1.16.2.ebuild +++ b/dev-ruby/console/console-1.16.2.ebuild @@ -28,8 +28,11 @@ all_ruby_prepare() { # Avoid dependency on covered. rm -f config/sus.rb || die + + # Avoid sandbox violation during tests + sed -i -e 's:/tmp/:'${TMPDIR}'/:' test/console/output.rb || die } each_ruby_test() { - ${RUBY} -S sus || die + ${RUBY} -S sus-parallel || die }