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 /t/helper.pm | |
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
Diffstat (limited to 't/helper.pm')
-rw-r--r-- | t/helper.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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'; |