From 2ce998e629eb4689f0b2972ce2bb3008bac29c58 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sat, 8 Jun 2024 16:26:58 -0400 Subject: [PATCH] CI: Correct location of output files --- scripts/test.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index cf1f5ffef..7735f62dd 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -38,20 +38,23 @@ echo 'All log files:' echo '================================================================================' for logfile in $(find "${ONEPROC_DIR}" "${TWOPROC_DIR}" -name '*.log' -print); do echo "Log file $logfile:" + ls -l "$logfile" cat "$logfile" echo '================================================================================' done echo 'All output files:' echo '================================================================================' -for outfile in $(find "${ONEPROC_DIR}" "${TWOPROC_DIR}" -name '*.out' -print); do - echo "Log file $outfile:" +for outfile in $(find "${ONEPROC_DIR}/../.." "${TWOPROC_DIR}/../.." -name '*.out' -print); do + echo "Output file $outfile:" + ls -l "$outfile" cat "$outfile" echo '================================================================================' done echo 'All error files:' echo '================================================================================' -for errfile in $(find "${ONEPROC_DIR}" "${TWOPROC_DIR}" -name '*.err' -print); do - echo "Log file $errfile:" +for errfile in $(find "${ONEPROC_DIR}/../.." "${TWOPROC_DIR}/../.." -name '*.err' -print); do + echo "Error file $errfile:" + ls -l "$errfile" cat "$errfile" echo '================================================================================' done