Switch the unit test script to INFO debug level to ensure this output
appears when expected.
Signed-off-by: Martin Schwenke <mschwenke@ddn.com>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
fp = fopen(file, "r");
if (fp == NULL) {
if (errno == ENOENT) {
- /* Doesn't need to exist */
+ D_INFO("Optional tunables file %s not found\n", file);
return true;
}
_file="$1"
if [ ! -r "$_file" ]; then
+ tunable_log "INFO" "Optional tunables file ${_file} not found"
return
fi
ok "${log}$(echo "$_map" | awk -F: '{ print $2 }')"
}
-export CTDB_DEBUGLEVEL="NOTICE"
+export CTDB_DEBUGLEVEL="INFO"
test_case "Unreadable file"
: >"$tfile"