Группа :: Система/Библиотеки
Пакет: libkcapi
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: libkcapi-1.3.1-alt1.patch
Скачать
Скачать
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