diff --git a/src/core/log.c b/src/core/log.c index 0d636b9ba90..d6071476d35 100644 --- a/src/core/log.c +++ b/src/core/log.c @@ -103,6 +103,17 @@ core_log_fini() core_log_default_fini(); } +static void +core_log_lib_info(void) +{ + CORE_LOG_HARK("src version: " SRCVERSION); +#if SDS_ENABLED + CORE_LOG_HARK("compiled with support for shutdown state"); +#endif +#if NDCTL_ENABLED + CORE_LOG_HARK("compiled with libndctl 63+"); +#endif +} /* * core_log_set_function -- set the log function pointer either to * a user-provided function pointer or to the default logging function. @@ -127,10 +138,12 @@ core_log_set_function(core_log_function *log_function, void *context) core_log_function_old, (uintptr_t)log_function)) return EAGAIN; if (__sync_bool_compare_and_swap(&Core_log_function_context, - context_old, context)) + context_old, context)) { + core_log_lib_info(); return 0; + } - __sync_bool_compare_and_swap(&Core_log_function, + (void) __sync_bool_compare_and_swap(&Core_log_function, (uintptr_t)log_function, core_log_function_old); return EAGAIN; diff --git a/src/core/out.c b/src/core/out.c index e6922ab4f90..d1b9785c9e2 100644 --- a/src/core/out.c +++ b/src/core/out.c @@ -83,32 +83,15 @@ out_init(const char *log_prefix, const char *log_level_var, Log_prefix = log_prefix; -#ifdef DEBUG - char *log_level; - char *log_file; - int log_level_cropped = 0; - int ret; - - if ((log_level = os_getenv(log_level_var)) != NULL) { - Log_level = atoi(log_level); - if (Log_level < 0) { - Log_level = 0; - } - if (Log_level <= OUT_MAX_LEVEL) { - log_level_cropped = Log_level; - } else { - log_level_cropped = OUT_MAX_LEVEL; - } - } - - if (log_level != NULL) { - ret = core_log_set_threshold(CORE_LOG_THRESHOLD, - level_to_core_log_level[log_level_cropped]); - if (ret) { - CORE_LOG_FATAL("Cannot set log threshold"); - } + char *log_alignment = os_getenv("PMDK_LOG_ALIGN"); + if (log_alignment) { + int align = atoi(log_alignment); + if (align > 0) + Log_alignment = (unsigned)align; } +#ifdef DEBUG + char *log_file; if ((log_file = os_getenv(log_file_var)) != NULL && log_file[0] != '\0') { @@ -133,6 +116,37 @@ out_init(const char *log_prefix, const char *log_level_var, abort(); } } +#endif /* DEBUG */ + + if (Out_fp == NULL) + Out_fp = stderr; + else + setlinebuf(Out_fp); + +#ifdef DEBUG + char *log_level; + int log_level_cropped = 0; + int ret; + + if ((log_level = os_getenv(log_level_var)) != NULL) { + Log_level = atoi(log_level); + if (Log_level < 0) { + Log_level = 0; + } + if (Log_level <= OUT_MAX_LEVEL) { + log_level_cropped = Log_level; + } else { + log_level_cropped = OUT_MAX_LEVEL; + } + } + + if (log_level != NULL) { + ret = core_log_set_threshold(CORE_LOG_THRESHOLD, + level_to_core_log_level[log_level_cropped]); + if (ret) { + CORE_LOG_FATAL("Cannot set log threshold"); + } + } if (log_level != NULL || log_file != NULL) { ret = core_log_set_function(out_legacy, NULL); @@ -142,29 +156,18 @@ out_init(const char *log_prefix, const char *log_level_var, } #endif /* DEBUG */ - char *log_alignment = os_getenv("PMDK_LOG_ALIGN"); - if (log_alignment) { - int align = atoi(log_alignment); - if (align > 0) - Log_alignment = (unsigned)align; - } - - if (Out_fp == NULL) - Out_fp = stderr; - else - setlinebuf(Out_fp); - +/* + * Print library info + */ #ifdef DEBUG static char namepath[PATH_MAX]; CORE_LOG_HARK("pid %d: program: %s", getpid(), util_getexecname(namepath, PATH_MAX)); -#endif +#endif /* DEBUG */ + CORE_LOG_HARK("%s version %d.%d", log_prefix, major_version, minor_version); - static __attribute__((used)) const char *version_msg = - "src version: " SRCVERSION; - CORE_LOG_HARK("%s", version_msg); #if VG_PMEMCHECK_ENABLED /* * Attribute "used" to prevent compiler from optimizing out the variable @@ -189,16 +192,6 @@ out_init(const char *log_prefix, const char *log_level_var, "compiled with support for Valgrind drd"; CORE_LOG_HARK("%s", drd_msg); #endif /* VG_DRD_ENABLED */ -#if SDS_ENABLED - static __attribute__((used)) const char *shutdown_state_msg = - "compiled with support for shutdown state"; - CORE_LOG_HARK("%s", shutdown_state_msg); -#endif -#if NDCTL_ENABLED - static __attribute__((used)) const char *ndctl_ge_63_msg = - "compiled with libndctl 63+"; - CORE_LOG_HARK("%s", ndctl_ge_63_msg); -#endif last_error_msg_init(); } diff --git a/src/test/arch_flags/log0.log.match b/src/test/arch_flags/log0.log.match index 6328efe7c15..bb87a7f820b 100644 --- a/src/test/arch_flags/log0.log.match +++ b/src/test/arch_flags/log0.log.match @@ -1,12 +1,13 @@ -: <1> [$(nW) out_init]$(W)pid $(nW): program: $(nW) -: <1> [$(nW) out_init]$(W)arch_flags version 0.0 -: <1> [$(nW) out_init]$(W)src version: $(nW) -$(OPT): <1> [$(nW) out_init]$(W)compiled with support for Valgrind pmemcheck -$(OPT): <1> [$(nW) out_init]$(W)compiled with support for Valgrind helgrind -$(OPT): <1> [$(nW) out_init]$(W)compiled with support for Valgrind memcheck -$(OPT): <1> [$(nW) out_init]$(W)compiled with support for Valgrind drd -$(OPT): <1> [$(nW) out_init]$(W)compiled with support for shutdown state -$(OPT): <1> [$(nW) out_init]$(W)compiled with libndctl 63+ +: <1> [$(*)]$(W)src version: $(nW) +$(OPT): <1> [$(*)]$(W)compiled with support for shutdown state +$(OPT): <1> [$(*)]$(W)compiled with libndctl 63+ +: <1> [$(*)]$(W)pid $(nW): program: $(nW) +: <1> [$(*)]$(W)arch_flags version 0.0 +: <1> [$(*)]$(W)src version: $(nW) +$(OPT): <1> [$(*)]$(W)compiled with support for Valgrind pmemcheck +$(OPT): <1> [$(*)]$(W)compiled with support for Valgrind helgrind +$(OPT): <1> [$(*)]$(W)compiled with support for Valgrind memcheck +$(OPT): <1> [$(*)]$(W)compiled with support for Valgrind drd : <3> [$(nW) util_mmap_init] : <1> [$(nW) util_check_arch_flags]$(W)invalid machine value : <1> [$(nW) util_check_arch_flags]$(W)invalid machine_class value diff --git a/src/test/core_log_max/call_all.c.generated b/src/test/core_log_max/call_all.c.generated index 15552125ed5..f44cbd7e251 100644 --- a/src/test/core_log_max/call_all.c.generated +++ b/src/test/core_log_max/call_all.c.generated @@ -687,9 +687,9 @@ call_all_CORE_LOG_FATAL(void) CORE_LOG_FATAL("os_thread_key_create"); // src/core/last_error_msg.c:78 CORE_LOG_FATAL("os_tls_set"); - // src/core/out.c:113 + // src/core/out.c:147 CORE_LOG_FATAL("Cannot set log threshold"); - // src/core/out.c:145 + // src/core/out.c:154 CORE_LOG_FATAL("Cannot set legacy log function"); // src/core/sys_util.h:108 CORE_LOG_FATAL("os_rwlock_init"); @@ -1000,7 +1000,7 @@ call_all_ERR_W_ERRNO(int errnum) // src/common/vecq.h:68 ERR_W_ERRNO("Realloc"); UT_ASSERTeq(errno, errnum); - // src/core/out.c:126 + // src/core/out.c:104 ERR_W_ERRNO("snprintf"); UT_ASSERTeq(errno, errnum); // src/core/ravl.c:167 diff --git a/src/test/out_err/traces0.log.match b/src/test/out_err/traces0.log.match index 0e34ec94875..b9b09809d4f 100644 --- a/src/test/out_err/traces0.log.match +++ b/src/test/out_err/traces0.log.match @@ -1,12 +1,12 @@ +: <1> [$(*)]$(W)src version: $(nW) +$(OPT): <1> [$(*)]$(W)compiled with support for shutdown state +$(OPT): <1> [$(*)]$(W)compiled with libndctl 63+ : <1> [out.c:$(N) out_init]$(W)pid $(N): program: $(nW) : <1> [out.c:$(N) out_init]$(W)trace version 1.0 -: <1> [out.c:$(N) out_init]$(W)src version: $(nW) $(OPT): <1> [out.c:$(N) out_init]$(W)compiled with support for Valgrind pmemcheck $(OPT): <1> [out.c:$(N) out_init]$(W)compiled with support for Valgrind helgrind $(OPT): <1> [out.c:$(N) out_init]$(W)compiled with support for Valgrind memcheck $(OPT): <1> [out.c:$(N) out_init]$(W)compiled with support for Valgrind drd -$(OPT): <1> [out.c:$(N) out_init]$(W)compiled with support for shutdown state -$(OPT): <1> [out.c:$(N) out_init]$(W)compiled with libndctl 63+ : <1> [out_err$(nW).c:$(N) $(nW)main]$(W)ERR #1 $(OPT): <1> [out_err$(nW).c:$(N) $(nW)main]$(W)ERR #2: Success $(OPX): <1> [out_err$(nW).c:$(N) $(nW)main]$(W)ERR #2: No error: 0 diff --git a/src/test/traces/custom_file0.log.match b/src/test/traces/custom_file0.log.match index 8247d4a062f..e04efd9f8c0 100644 --- a/src/test/traces/custom_file0.log.match +++ b/src/test/traces/custom_file0.log.match @@ -1,12 +1,12 @@ +$(nW) <1> $(nW) $(nW) src version: $(nW) +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for shutdown state +$(OPT)$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ $(nW) <1> $(nW) $(nW) pid $(N): program: $(nW) $(nW) <1> $(nW) $(nW) ut version 1.0 -$(nW) <1> $(nW) $(nW) src version: $(nW) -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd -$(nW) <1> $(nW) $(nW) compiled with support for shutdown state -$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd $(nW) <3> $(nW) $(nW) $(nW) <1> $(nW) $(nW) Log level HARK $(nW) <1> $(nW) $(nW) Log level ERROR diff --git a/src/test/traces/redir_stderr2.log.match b/src/test/traces/redir_stderr2.log.match index e0792eb7238..1de6b64ad75 100644 --- a/src/test/traces/redir_stderr2.log.match +++ b/src/test/traces/redir_stderr2.log.match @@ -1,11 +1,11 @@ +$(nW) <1> $(nW) $(nW) src version: $(nW) +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for shutdown state +$(OPT)$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ $(nW) <1> $(nW) $(nW) pid $(N): program: $(nW) $(nW) <1> $(nW) $(nW) ut version 1.0 -$(nW) <1> $(nW) $(nW) src version: $(nW) -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd -$(nW) <1> $(nW) $(nW) compiled with support for shutdown state -$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd $(nW) <1> $(nW) $(nW) Log level HARK $(nW) <1> $(nW) $(nW) Log level ERROR diff --git a/src/test/traces/redir_stderr3.log.match b/src/test/traces/redir_stderr3.log.match index 1522078c9fe..a2d55384538 100644 --- a/src/test/traces/redir_stderr3.log.match +++ b/src/test/traces/redir_stderr3.log.match @@ -1,12 +1,12 @@ +$(nW) <1> $(nW) $(nW) src version: $(nW) +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for shutdown state +$(OPT)$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ $(nW) <1> $(nW) $(nW) pid $(N): program: $(nW) $(nW) <1> $(nW) $(nW) ut version 1.0 -$(nW) <1> $(nW) $(nW) src version: $(nW) -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd -$(nW) <1> $(nW) $(nW) compiled with support for shutdown state -$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd $(nW) <1> $(nW) $(nW) Log level HARK $(nW) <1> $(nW) $(nW) Log level ERROR $(nW) <2> $(nW) $(nW) Log level WARNING diff --git a/src/test/traces/redir_stderr4.log.match b/src/test/traces/redir_stderr4.log.match index be7f3829c7b..140b9d37046 100644 --- a/src/test/traces/redir_stderr4.log.match +++ b/src/test/traces/redir_stderr4.log.match @@ -1,12 +1,12 @@ +$(nW) <1> $(nW) $(nW) src version: $(nW) +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for shutdown state +$(OPT)$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ $(nW) <1> $(nW) $(nW) pid $(N): program: $(nW) $(nW) <1> $(nW) $(nW) ut version 1.0 -$(nW) <1> $(nW) $(nW) src version: $(nW) -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd -$(nW) <1> $(nW) $(nW) compiled with support for shutdown state -$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd $(nW) <3> $(nW) $(nW) $(nW) <1> $(nW) $(nW) Log level HARK $(nW) <1> $(nW) $(nW) Log level ERROR diff --git a/src/test/traces/redir_stderr5.log.match b/src/test/traces/redir_stderr5.log.match index 8247d4a062f..e04efd9f8c0 100644 --- a/src/test/traces/redir_stderr5.log.match +++ b/src/test/traces/redir_stderr5.log.match @@ -1,12 +1,12 @@ +$(nW) <1> $(nW) $(nW) src version: $(nW) +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for shutdown state +$(OPT)$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ $(nW) <1> $(nW) $(nW) pid $(N): program: $(nW) $(nW) <1> $(nW) $(nW) ut version 1.0 -$(nW) <1> $(nW) $(nW) src version: $(nW) -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck -$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd -$(nW) <1> $(nW) $(nW) compiled with support for shutdown state -$(nW) <1> $(nW) $(nW) compiled with libndctl 63+ +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind pmemcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind helgrind +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind memcheck +$(OPT)$(nW) <1> $(nW) $(nW) compiled with support for Valgrind drd $(nW) <3> $(nW) $(nW) $(nW) <1> $(nW) $(nW) Log level HARK $(nW) <1> $(nW) $(nW) Log level ERROR diff --git a/src/test/util_poolset/grep0.log.match b/src/test/util_poolset/grep0.log.match index 6790b813cff..441bee9364a 100644 --- a/src/test/util_poolset/grep0.log.match +++ b/src/test/util_poolset/grep0.log.match @@ -1,12 +1,12 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)/util_poolset$(nW) ut version 1.0 -src version: $(nW) $(OPT)compiled with support for Valgrind pmemcheck $(OPT)compiled with support for Valgrind helgrind $(OPT)compiled with support for Valgrind memcheck $(OPT)compiled with support for Valgrind drd -$(OPT)compiled with support for shutdown state -$(OPT)compiled with libndctl 63+ open "$(nW)/testset0": No such file or directory cannot create pool set -- '$(nW)/testset0' $(OPT)Cannot read device usc - ndctl is not available diff --git a/src/test/util_poolset/grep1.log.match b/src/test/util_poolset/grep1.log.match index 7dcf42462b5..370ed3dee53 100644 --- a/src/test/util_poolset/grep1.log.match +++ b/src/test/util_poolset/grep1.log.match @@ -1,12 +1,12 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)/util_poolset$(nW) ut version 1.0 -src version: $(nW) $(OPT)compiled with support for Valgrind pmemcheck $(OPT)compiled with support for Valgrind helgrind $(OPT)compiled with support for Valgrind memcheck $(OPT)compiled with support for Valgrind drd -$(OPT)compiled with support for shutdown state -$(OPT)compiled with libndctl 63+ open "$(nW)/testset0": No such file or directory cannot open pool set -- '$(nW)/testset0' invalid major version (0) diff --git a/src/test/util_poolset/grep10.log.match b/src/test/util_poolset/grep10.log.match index f7d99cc936f..091561cbf37 100644 --- a/src/test/util_poolset/grep10.log.match +++ b/src/test/util_poolset/grep10.log.match @@ -1,12 +1,12 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)/util_poolset$(nW) ut version 1.0 -src version: $(nW) $(OPT)compiled with support for Valgrind pmemcheck $(OPT)compiled with support for Valgrind helgrind $(OPT)compiled with support for Valgrind memcheck $(OPT)compiled with support for Valgrind drd -$(OPT)compiled with support for shutdown state -$(OPT)compiled with libndctl 63+ invalid checksum of pool header wrong pool type: "ERRORXX" pool version 99 (library expects 1) diff --git a/src/test/util_poolset/grep2.log.match b/src/test/util_poolset/grep2.log.match index 6d25e56c110..63958613a09 100644 --- a/src/test/util_poolset/grep2.log.match +++ b/src/test/util_poolset/grep2.log.match @@ -1,12 +1,12 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)/util_poolset$(nW) ut version 1.0 -src version: $(nW) $(OPT)compiled with support for Valgrind pmemcheck $(OPT)compiled with support for Valgrind helgrind $(OPT)compiled with support for Valgrind memcheck $(OPT)compiled with support for Valgrind drd -$(OPT)compiled with support for shutdown state -$(OPT)compiled with libndctl 63+ invalid checksum of pool header header check failed - part #1 wrong pool type: "ERRORXX" diff --git a/src/test/util_poolset/grep3.log.match b/src/test/util_poolset/grep3.log.match index 96b81b9b3b7..4849bc225db 100644 --- a/src/test/util_poolset/grep3.log.match +++ b/src/test/util_poolset/grep3.log.match @@ -1,9 +1,9 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)util_poolset$(nW) ut version 1.0 -src version: $(nW) $(OPT)compiled with support for Valgrind pmemcheck $(OPT)compiled with support for Valgrind helgrind $(OPT)compiled with support for Valgrind memcheck $(OPT)compiled with support for Valgrind drd -$(OPT)compiled with support for shutdown state -$(OPT)compiled with libndctl 63+ diff --git a/src/test/util_poolset/grep4.log.match b/src/test/util_poolset/grep4.log.match index 96b81b9b3b7..4849bc225db 100644 --- a/src/test/util_poolset/grep4.log.match +++ b/src/test/util_poolset/grep4.log.match @@ -1,9 +1,9 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)util_poolset$(nW) ut version 1.0 -src version: $(nW) $(OPT)compiled with support for Valgrind pmemcheck $(OPT)compiled with support for Valgrind helgrind $(OPT)compiled with support for Valgrind memcheck $(OPT)compiled with support for Valgrind drd -$(OPT)compiled with support for shutdown state -$(OPT)compiled with libndctl 63+ diff --git a/src/test/util_poolset/grep5.log.match b/src/test/util_poolset/grep5.log.match index 96b81b9b3b7..4849bc225db 100644 --- a/src/test/util_poolset/grep5.log.match +++ b/src/test/util_poolset/grep5.log.match @@ -1,9 +1,9 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)util_poolset$(nW) ut version 1.0 -src version: $(nW) $(OPT)compiled with support for Valgrind pmemcheck $(OPT)compiled with support for Valgrind helgrind $(OPT)compiled with support for Valgrind memcheck $(OPT)compiled with support for Valgrind drd -$(OPT)compiled with support for shutdown state -$(OPT)compiled with libndctl 63+ diff --git a/src/test/util_poolset/grep6.log.match b/src/test/util_poolset/grep6.log.match index 536bfdc581b..dd61ea30a0d 100644 --- a/src/test/util_poolset/grep6.log.match +++ b/src/test/util_poolset/grep6.log.match @@ -1,12 +1,12 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)util_poolset$(nW) ut version 1.0 -src version: $(nW) $(OPT)compiled with support for Valgrind pmemcheck $(OPT)compiled with support for Valgrind helgrind $(OPT)compiled with support for Valgrind memcheck $(OPT)compiled with support for Valgrind drd -$(OPT)compiled with support for shutdown state -$(OPT)compiled with libndctl 63+ cannot mix directories and files in a set cannot create pool set -- '$(nW)/testset2' cannot mix directories and files in a set diff --git a/src/test/util_poolset/grep7.log.match b/src/test/util_poolset/grep7.log.match index 712b6a897dd..b89d04ba9fb 100644 --- a/src/test/util_poolset/grep7.log.match +++ b/src/test/util_poolset/grep7.log.match @@ -1,3 +1,6 @@ +src version: $(nW) +$(OPT)compiled with support for shutdown state +$(OPT)compiled with libndctl 63+ pid $(N): program: $(nW)util_poolset$(nW) ut version 1.0 src version: $(nW)