summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS2
-rw-r--r--t/helper.pm1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 4cf3b6d8..6e48a767 100644
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,8 @@
o fix test with rpm < 4.13 on CentOS7
o perform some file conflict tests only on Mageia
o try harder to find genhdlist2 in uninstalled CPAN modules
+- testsuite:
+ o disable fsync/fdatasync while running tests
Version 8.121 - 8 April 2020
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';