From 0c75fab9fad1c9e63962c0c853eaf108bca5db9e Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 28 Apr 2020 14:43:21 +0200 Subject: disable fsync/fdatasync while running tests --- t/helper.pm | 1 + 1 file changed, 1 insertion(+) (limited to 't') diff --git a/t/helper.pm b/t/helper.pm index a97fb2f8..c9c2790c 100644 --- a/t/helper.pm +++ b/t/helper.pm @@ -39,6 +39,7 @@ sub need_root_and_prepare() { system('rm -rf root'); isnt(-d 'root', "test root dir can not be removed $!", "creating chroot"); system('mkdir -p root/etc/rpm'); + system('echo "%__dbi_other fsync nofsync" >root/etc/rpm/macros'); system('echo "%_pkgverify_level none" >root/etc/rpm/macros'); $using_root = 1; $ENV{LC_ALL} = 'C'; -- cgit v1.2.1