diff options
Diffstat (limited to 't/helper.pm')
-rw-r--r-- | t/helper.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/t/helper.pm b/t/helper.pm index e1ae6655..40324133 100644 --- a/t/helper.pm +++ b/t/helper.pm @@ -23,7 +23,9 @@ sub need_root_and_prepare() { system('rm -rf root'); isnt(-d 'root', "test root dir can not be removed $!"); - mkdir 'root'; + system('mkdir -p root/etc/rpm'); + system('echo "%_pkgverify_level none" >root/etc/rpm/macros'); + # system('echo "%_pkgverify_flags 0x0" >> root/etc/rpm/macros'); $using_root = 1; $ENV{LC_ALL} = 'C'; } |