commit | 43554580ab5a64f7dddb2c4746176ddb787241d8 | [log] [tgz] |
---|---|---|
author | Gavin Howard <yzena.tech@gmail.com> | Tue Sep 11 12:22:04 2018 -0600 |
committer | Gavin Howard <yzena.tech@gmail.com> | Tue Sep 11 12:22:04 2018 -0600 |
tree | 67a50e4387317b1be96f4f7632ea2960568e8f29 | |
parent | 14c4d45dc0d4b82e49d678d22c0f6f641d45b35e [diff] |
Change errors.sh to also error when bc crashes
diff --git a/tests/errors.sh b/tests/errors.sh index e2fdc11..138037a 100755 --- a/tests/errors.sh +++ b/tests/errors.sh
@@ -41,6 +41,13 @@ exit 127 fi + if [ "$error" -gt 127 ]; then + echo "\nbc crashed on test:\n" + echo " $line" + echo "\nexiting..." + exit "$error" + fi + done < "$testfile" done