commit:     34512ba13d37ac1879dd72bee63ae5208aff0de5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 12 02:46:37 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Mar 12 02:46:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34512ba1

app-misc/gcal: fix tests when gcal not installed

... and obviously test the thing we just built properly.

Closes: https://bugs.gentoo.org/925605
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-misc/gcal/gcal-4.1-r2.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/app-misc/gcal/gcal-4.1-r2.ebuild b/app-misc/gcal/gcal-4.1-r2.ebuild
index 829867ea2dc9..24e198f30dfb 100644
--- a/app-misc/gcal/gcal-4.1-r2.ebuild
+++ b/app-misc/gcal/gcal-4.1-r2.ebuild
@@ -55,6 +55,7 @@ src_test() {
 
        # Do basic smoke tests to help catch issues like bug #925560
        # where trivial 'gcal' invocation crashed w/ _F_S=3.
+       local -x PATH="${S}/src:${S}:${PATH}"
        local bin
        for bin in gcal2txt tcal txt2gcal gcal ; do
                src/${bin} || die

Reply via email to