From 1e80ec892615f9da897da518cb3c55261d2bd51e Mon Sep 17 00:00:00 2001 From: Zdenek Kabelac Date: Thu, 26 Oct 2017 13:58:43 +0200 Subject: [PATCH] tests: allow override of LVM_LOG_FILE_MAX_LINES Just like with other vars support this: make check_local T=xyz LVM_LOG_FILE_MAX_LINES=10000000 Allows easily to override existing line limit. Also increase limiting size of logs per command since some of our commands are becoming very verbose.... --- test/lib/inittest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/lib/inittest.sh b/test/lib/inittest.sh index a33748d25..78bd987c3 100644 --- a/test/lib/inittest.sh +++ b/test/lib/inittest.sh @@ -84,7 +84,7 @@ RUNNING_DMEVENTD=$(pgrep dmeventd || true) export TESTOLDPWD TESTDIR COMMON_PREFIX PREFIX RUNNING_DMEVENTD LVM_LOG_FILE_EPOCH=DEBUG -LVM_LOG_FILE_MAX_LINES=100000 +LVM_LOG_FILE_MAX_LINES=${LVM_LOG_FILE_MAX_LINES-1000000} LVM_EXPECTED_EXIT_STATUS=1 export LVM_LOG_FILE_EPOCH LVM_LOG_FILE_MAX_LINES LVM_EXPECTED_EXIT_STATUS -- 2.43.5