From 44c6a113c02ec00dca037c15fac370207afb60a5 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 28 Apr 2020 23:37:37 +0200 Subject: do not restrict PATH during testsuite (needed for next commit) --- t/helper.pm | 2 ++ 1 file changed, 2 insertions(+) (limited to 't') diff --git a/t/helper.pm b/t/helper.pm index 841b57e6..c06d1202 100644 --- a/t/helper.pm +++ b/t/helper.pm @@ -98,10 +98,12 @@ sub urpmi_cmd() { urpm_cmd('urpmi') } sub urpmi_addmedia { my ($para) = @_; + $ENV{URPMI_TESTSUITE} = 1; system_(urpm_cmd('urpmi.addmedia --no-verify-rpm') . " $para"); } sub urpmi_addmedia_should_retry { my ($para) = @_; + $ENV{URPMI_TESTSUITE} = 1; system_should_retry(urpm_cmd('urpmi.addmedia --no-verify-rpm') . " $para"); } sub urpmi_removemedia { -- cgit v1.2.1