Adjust test jobs for new log directory.

This commit is contained in:
Darren Tucker 2023-03-01 23:23:02 +11:00
parent a6f4ac8a2b
commit 131fcbcaff
No known key found for this signature in database
4 changed files with 4 additions and 1 deletions

2
.github/run_test.sh vendored
View File

@ -21,7 +21,7 @@ if [ ! -z "$SUDO" ] && [ ! -z "$TEST_SSH_HOSTBASED_AUTH" ]; then
fi fi
output_failed_logs() { output_failed_logs() {
for i in regress/failed*; do for i in regress/failed*.log; do
if [ -f "$i" ]; then if [ -f "$i" ]; then
echo ------------------------------------------------------------------------- echo -------------------------------------------------------------------------
echo LOGFILE $i echo LOGFILE $i

View File

@ -123,3 +123,4 @@ jobs:
regress/valgrind-out/ regress/valgrind-out/
regress/asan.log.* regress/asan.log.*
regress/msan.log.* regress/msan.log.*
regress/log/*

View File

@ -111,6 +111,7 @@ jobs:
config.h config.h
config.log config.log
regress/*.log regress/*.log
regress/log/*
regress/valgrind-out/ regress/valgrind-out/
- name: shutdown VM - name: shutdown VM
if: always() if: always()

View File

@ -46,6 +46,7 @@ jobs:
name: ${{ matrix.target }}-${{ matrix.config }}-logs name: ${{ matrix.target }}-${{ matrix.config }}-logs
path: | path: |
/usr/obj/regress/usr.bin/ssh/obj/*.log /usr/obj/regress/usr.bin/ssh/obj/*.log
/usr/obj/regress/usr.bin/ssh/obj/log/*
- name: shutdown VM - name: shutdown VM
if: always() if: always()
run: vmshutdown run: vmshutdown