Mailing List Archive

[openssh] 04/04: Output test debug logs on failure.
This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit a09e98dcae1e26f026029b7142b0e0d10130056f
Author: Darren Tucker <dtucker@dtucker.net>
Date: Fri Aug 7 15:37:37 2020 +1000

Output test debug logs on failure.
---
.github/run_test.sh | 11 +++++++++++
1 file changed, 11 insertions(+)

diff --git a/.github/run_test.sh b/.github/run_test.sh
index f8a97f51..93c3a5e9 100755
--- a/.github/run_test.sh
+++ b/.github/run_test.sh
@@ -18,6 +18,17 @@ done

if [ -z "$LTESTS" ]; then
make $TEST_TARGET
+ result=$?
else
make $TEST_TARGET LTESTS="$LTESTS"
+ result=$?
+fi
+
+if [ "$result" -ne "0" ]; then
+ for i in regress/failed*; do
+ echo -------------------------------------------------------------------------
+ echo LOGFILE $i
+ cat $i
+ echo -------------------------------------------------------------------------
+ done
fi

--
To stop receiving notification emails like this one, please contact
djm@mindrot.org.
_______________________________________________
openssh-commits mailing list
openssh-commits@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-commits