mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
tests: increase max lines for clvmd
Clvmd is a bit more verbose long time running process so let it live with more logged lines. Also fix typo in warn message from last commit.
This commit is contained in:
parent
34c55d98ee
commit
8756297a8d
@ -116,7 +116,7 @@ void init_log_file(const char *log_file, int append)
|
||||
|
||||
if ((env = getenv("LVM_LOG_FILE_MAX_LINES"))) {
|
||||
if (sscanf(env, FMTu64, &_log_file_max_lines) != 1) {
|
||||
log_warn("WARNING: Ingnoring incorrect LVM_LOG_MAX_LINES envvar \"%s\".", env);
|
||||
log_warn("WARNING: Ignoring invalid LVM_LOG_MAX_LINES envvar \"%s\".", env);
|
||||
_log_file_max_lines = 0;
|
||||
}
|
||||
_log_file_lines = 0;
|
||||
|
@ -169,7 +169,7 @@ prepare_clvmd() {
|
||||
rm -f "$CLVMD_PIDFILE"
|
||||
echo "<======== Starting CLVMD ========>"
|
||||
# lvs is executed from clvmd - use our version
|
||||
LVM_LOG_FILE_EPOCH=CLVMD LVM_BINARY=$(which lvm) $run_valgrind clvmd -Isinglenode -d 1 -f &
|
||||
LVM_LOG_FILE_EPOCH=CLVMD LVM_LOG_FILE_MAX_LINES=1000000 LVM_BINARY=$(which lvm) $run_valgrind clvmd -Isinglenode -d 1 -f &
|
||||
echo $! > LOCAL_CLVMD
|
||||
|
||||
for i in {1..100} ; do
|
||||
|
Loading…
Reference in New Issue
Block a user