summaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2020-04-28 14:43:21 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2020-04-29 14:37:41 +0200
commit0c75fab9fad1c9e63962c0c853eaf108bca5db9e (patch)
treed5a15e66337c9763c0b4dd4a9da8f9857cb57881 /t
parentc8d94c659ad50c1f0f3a3cc61482c07735047370 (diff)
downloadurpmi-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')
-rw-r--r--t/helper.pm1
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';