Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37907231
en ru br
ALT Linux repos
S:1.3.1-alt1

Group :: System/Libraries
RPM: libkcapi

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: libkcapi-1.3.1-alt1.patch
Download


 test/test.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/test.sh b/test/test.sh
index 2477b67..b709f0e 100755
--- a/test/test.sh
+++ b/test/test.sh
@@ -557,7 +557,7 @@ KPP_exp_2="78fbd4d1ed7ea6fc8f1e1a6f8a5c750845401589ad3c135088b4ec78f54c57b436d1a
 
 # Test required for test with multiple IOVECs on i686
 check_memory() {
-	if [ $(cat /proc/sys/net/core/optmem_max) -lt $1 ]
+	if [ $(cat /proc/sys/net/core/optmem_max || echo 20480) -lt $1 ]
 	then
 		echo "Socket memory size too small for test, set to 20480" 1>&2
 		echo "echo 20480 > /proc/sys/net/core/optmem_max" 1>&2
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin