[packages/cryptsetup/debug-unit-wipe-test] reduce minimal block size in unit-wipe-test

atler atler at pld-linux.org
Sat Jan 27 23:37:07 CET 2024


commit 612d0036bcbaf3f6c61b5fddcfff846685f31664
Author: Jan Palus <atler at pld-linux.org>
Date:   Sat Jan 27 23:36:25 2024 +0100

    reduce minimal block size in unit-wipe-test
    
    0 means default and default is 1024*1024

 cryptsetup.spec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/cryptsetup.spec b/cryptsetup.spec
index ff393ce..2fe0f9c 100644
--- a/cryptsetup.spec
+++ b/cryptsetup.spec
@@ -170,7 +170,7 @@ cryptsetup - wersję statycznie zlinkowaną dla initrd.
 
 %{__rm} po/stamp-po
 
-%{__sed} -i -e '1a set -x' tests/unit-wipe-test
+%{__sed} -i -e '1a set -x' -e 's/for bs in 0/for bs in 4096/'  tests/unit-wipe-test
 
 %build
 %{__gettextize}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/cryptsetup.git/commitdiff/612d0036bcbaf3f6c61b5fddcfff846685f31664



More information about the pld-cvs-commit mailing list