mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
test/parseconf: Warn when the expected_log* file is missing
Part of 32451.
This commit is contained in:
@@ -614,12 +614,18 @@ for dir in "${EXAMPLEDIR}"/*; do
|
||||
# This case should succeed: run verify-config and see if it does.
|
||||
|
||||
check_verify_config "./torrc" \
|
||||
"$DEFAULTS" \
|
||||
"$CMDLINE" \
|
||||
"${DATA_DIR}/output_log.${testname}" \
|
||||
"$TRUE" \
|
||||
"$EXPECTED_LOG" \
|
||||
"log success"
|
||||
"$DEFAULTS" \
|
||||
"$CMDLINE" \
|
||||
"${DATA_DIR}/output_log.${testname}" \
|
||||
"$TRUE" \
|
||||
"$EXPECTED_LOG" \
|
||||
"log success"
|
||||
else
|
||||
printf "\\nNOTICE: Missing '%s_log' file:\\n" \
|
||||
"$EXPECTED" >&2
|
||||
log_verify_config "./torrc" \
|
||||
"$DEFAULTS" \
|
||||
"$CMDLINE"
|
||||
fi
|
||||
|
||||
elif test -f "$ERROR"; then
|
||||
|
||||
Reference in New Issue
Block a user