Skip to content

Commit

Permalink
more testing of Lmod_test_suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert McLay committed Mar 24, 2022
1 parent 305684f commit 89874c5
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,19 @@ jobs:
if: ${{ failure() }}
run: |
cd /tmp/Lmod_test_suite
dir=rt/subshell/
echo ">>>> ${dir}t1.log"
cat ${dir}t1/*/t1.log
echo ">>>> ${dir}_stderr.orig"
cat ${dir}t1/*/_stderr.orig
echo ">>>> ${dir}err.txt"
cat ${dir}err.txt
for dir in $(ls -pd rt/* | grep '/$'); do
diff -c ${dir}t1/*/_err.left ${dir}/t1/*/_err.right > /dev/null 2>&1
if [ $? -ne 0 ]; then
echo ">>>> ${dir}/err.txt"
diff -c ${dir}t1/*/_err.left ${dir}/t1/*/_err.right || echo
echo ">>>> ${dir}/_err.left (gold)"
cat ${dir}t1/*/_err.left
echo ">>>> ${dir}/_err.right"
cat ${dir}t1/*/_err.right
echo ">>>> ${dir}/t1.txt"
cat ${dir}t1/*/t1.log
fi
done

0 comments on commit 89874c5

Please sign in to comment.