diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-10-26 13:58:43 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-10-26 14:04:58 +0200 |
commit | 1e80ec892615f9da897da518cb3c55261d2bd51e (patch) | |
tree | ca0a2fc22801003b82fdf3646e05423e399d2938 | |
parent | 04186616bef6789d6f363a1d461c01d344616c7a (diff) | |
download | lvm2-1e80ec892615f9da897da518cb3c55261d2bd51e.tar.gz |
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....
-rw-r--r-- | 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 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 |