From: Willy Tarreau Date: Thu, 26 Jun 2025 12:33:09 +0000 (+0200) Subject: REGTESTS: script: also add a line pointing to the log file X-Git-Tag: v3.3-dev2~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16f382f2d9826d537072993da9691c2959848c6a;p=thirdparty%2Fhaproxy.git REGTESTS: script: also add a line pointing to the log file I never counted the number of hours I've been spending selecting then copy-pasting the directory output and manually appending "/LOG" to read a log file but it amounts in tens to hundreds. Let's just add a direct pointer to the log file at the end of the log for a failed run. --- diff --git a/scripts/run-regtests.sh b/scripts/run-regtests.sh index 7e185e5c6..912ac94f0 100755 --- a/scripts/run-regtests.sh +++ b/scripts/run-regtests.sh @@ -399,6 +399,7 @@ if [ -d "${TESTDIR}" ]; then cat <<- EOF | tee -a "$TESTDIR/failedtests.log" $(echo "###### $(cat "$i/INFO") ######") $(echo "## test results in: \"$i\"") +$(echo "## test log file: $i/LOG") $(grep -E -- "^(----|\* diag)" "$i/LOG") EOF done' sh {} +