diff --git a/plans/legacy.fmf b/plans/legacy.fmf index 4f6826a..6184d03 100644 --- a/plans/legacy.fmf +++ b/plans/legacy.fmf @@ -1,6 +1,13 @@ summary: Imported t_functional tests environment: + # tmt >= 1.75.0 no longer leaks the runner's process environment into + # test commands (teemtee/tmt#4900). Restore the variables the suite + # relied on: an sbin-inclusive PATH (tests call useradd, ip, service, + # auditctl, setsebool, tcpdump, ... by bare name) and HOME (e.g. p_go's + # `go build` needs HOME/GOCACHE to locate its build cache). + PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + HOME: "/root" YUMDEBUG: 0 SKIP_QA_HARNESS: 1 vendor: "almalinux" diff --git a/plans/ng.fmf b/plans/ng.fmf index 1ab1a67..a0afba4 100644 --- a/plans/ng.fmf +++ b/plans/ng.fmf @@ -1,5 +1,12 @@ summary: New generation tests fully leveraging tmt +environment: + # tmt >= 1.75.0 no longer leaks the runner's process environment into + # test commands (teemtee/tmt#4900). Restore the variables the suite + # relied on: an sbin-inclusive PATH (tests call useradd, usermod, the + # bpf-* helpers, ... by bare name) and HOME. + PATH: "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" + HOME: "/root" discover: how: fmf exclude: /legacy