Skip to content

Commit

Permalink
more testing
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderRichert-NOAA committed Jul 4, 2023
1 parent 21749df commit eb81a93
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions util/util_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ function run_and_check(){
if [ $? -ne $expected ]; then
echo "Test $label failed! Output:"
cat output
rm output
echo
fail=1
fi
Expand All @@ -30,6 +31,7 @@ run_and_check 1 "check_permissions B" ${SPACK_STACK_DIR}/util/check_permissions.
chmod o-X ../../perm_check1
run_and_check 1 "check_permissions C" ${SPACK_STACK_DIR}/util/check_permissions.sh
chmod o+r ../../perm_check1
ls -l ../..
ls -l ..
ls -l
run_and_check 1 "check_permissions D" ${SPACK_STACK_DIR}/util/check_permissions.sh
Expand Down

0 comments on commit eb81a93

Please sign in to comment.