diff options
author | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-28 14:43:21 +0200 |
---|---|---|
committer | Thierry Vignaud <thierry.vignaud@gmail.com> | 2020-04-29 14:37:41 +0200 |
commit | 0c75fab9fad1c9e63962c0c853eaf108bca5db9e (patch) | |
tree | d5a15e66337c9763c0b4dd4a9da8f9857cb57881 | |
parent | c8d94c659ad50c1f0f3a3cc61482c07735047370 (diff) | |
download | urpmi-0c75fab9fad1c9e63962c0c853eaf108bca5db9e.tar urpmi-0c75fab9fad1c9e63962c0c853eaf108bca5db9e.tar.gz urpmi-0c75fab9fad1c9e63962c0c853eaf108bca5db9e.tar.bz2 urpmi-0c75fab9fad1c9e63962c0c853eaf108bca5db9e.tar.xz urpmi-0c75fab9fad1c9e63962c0c853eaf108bca5db9e.zip |
disable fsync/fdatasync while running tests
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | t/helper.pm | 1 |
2 files changed, 3 insertions, 0 deletions
@@ -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'; |