[packages/cryptsetup/debug-unit-wipe-test] force disable direct io during tests

atler atler at pld-linux.org
Mon Feb 5 02:39:32 CET 2024


commit 3a5f1d4d7069b9923261ec5c3befae7df351a8bc
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Feb 5 00:45:12 2024 +0100

    force disable direct io during tests

 cryptsetup.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cryptsetup.spec b/cryptsetup.spec
index 2fe0f9c..c5e2633 100644
--- a/cryptsetup.spec
+++ b/cryptsetup.spec
@@ -233,7 +233,7 @@ diet ${CC#ccache } %{rpmcppflags} %{rpmcflags} %{rpmldflags} -Os -I. -I./lib -st
 
 %{?with_tests:%{__make} -C tests unit-wipe}
 %{?with_tests:cd tests && strace -s 512 -f ./unit-wipe-test}
-%{?with_tests:%{__make} check}
+%{?with_tests:FILE_NODIO=1 %{__make} check}
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cryptsetup.git/commitdiff/3a5f1d4d7069b9923261ec5c3befae7df351a8bc



More information about the pld-cvs-commit mailing list