* master - tests: allow override of LVM_LOG_FILE_MAX_LINES
@ 2017-10-26 12:05 Zdenek Kabelac
0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2017-10-26 12:05 UTC (permalink / raw)
To: lvm-devel
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=1e80ec892615f9da897da518cb3c55261d2bd51e
Commit: 1e80ec892615f9da897da518cb3c55261d2bd51e
Parent: 04186616bef6789d6f363a1d461c01d344616c7a
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Thu Oct 26 13:58:43 2017 +0200
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Thu Oct 26 14:04:58 2017 +0200
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 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/test/lib/inittest.sh b/test/lib/inittest.sh
index a33748d..78bd987 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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-10-26 12:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-26 12:05 master - tests: allow override of LVM_LOG_FILE_MAX_LINES Zdenek Kabelac
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.