[Chapel Merge] Fix mason exit test failure

Branch: refs/heads/main
Revision: 5620270
Author: bmcdonald3
Link: Fix mason exit test failure by bmcdonald3 · Pull Request #20341 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #20341 from bmcdonald3/exit-test

Fix mason exit test failure

Modified Files:
M test/mason/mason-test-exit/exitCodeTest.chpl

M tools/mason/MasonTest.chpl

Compare: https://github.com/chapel-lang/chapel/compare/b453fd2f21be...562027019d96