Skip to content
Snippets Groups Projects
Commit 28a68847 authored by Morris Jette's avatar Morris Jette
Browse files

Improve regression error testing

Check separately for globals file existence and permissions
parent ec9eac14
No related branches found
No related tags found
No related merge requests found
......@@ -40,11 +40,14 @@ if [ ! -x ./regression ]; then
echo "FAILURE: cd to 'testsuite/expect' before starting 'regression'"
exit 1
fi
if [ ! -x ./globals ]; then
if [ ! -e ./globals ]; then
echo "FAILURE: 'globals' file not found"
exit 1
fi
if [ ! -x ./globals ]; then
echo "FAILURE: 'globals' file not executable"
exit 1
fi
# Remove any recently edited back-up files
/bin/rm -f test*.*% test*input test*output test*error
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment