summaryrefslogtreecommitdiff
path: root/src/test/test_parseconf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/test_parseconf.sh')
-rwxr-xr-xsrc/test/test_parseconf.sh18
1 files changed, 12 insertions, 6 deletions
diff --git a/src/test/test_parseconf.sh b/src/test/test_parseconf.sh
index 2298f0234f..4fe27d9f5d 100755
--- a/src/test/test_parseconf.sh
+++ b/src/test/test_parseconf.sh
@@ -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