commit:     0ce158e2b6ab3191334e883575237ace6bf14098
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 22 06:14:06 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Apr 22 06:14:06 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ce158e2

dev-ruby/io-endpoint: fix test using /tmp

Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild 
b/dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild
index 1afd836573e9..1db4fba01c1a 100644
--- a/dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild
+++ b/dev-ruby/io-endpoint/io-endpoint-0.15.2.ebuild
@@ -30,6 +30,9 @@ all_ruby_prepare() {
 
        sed -e '/covered/I s:^:#:' -i config/sus.rb || die
 
+       sed -e "s:/tmp/test.ipc:${TMP}/test.ipc:" \
+               -i test/io/endpoint/unix_endpoint.rb || die
+
        # Avoid tests that require unpackaged "bake" and require running
        # with Bundler.
        rm -f test/traces/backend/capture.rb || die

Reply via email to