diff options
Diffstat (limited to 'src/test')
-rwxr-xr-x | src/test/runtests.sh | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/test/runtests.sh b/src/test/runtests.sh index 81edac2b..79c9a9b2 100755 --- a/src/test/runtests.sh +++ b/src/test/runtests.sh @@ -21,13 +21,10 @@ checkit() { ret=0 fail_on_out() { - # If FATAL_CHECKS is set, then fail when $out has output: - if [ -n "${FATAL_CHECKS}" ]; then - if [ -n "${out}" ]; then - eerror "Last command failed and FATAL_CHECKS is set; failing" - exit 1 - fi - fi + if [ -n "${out}" ]; then + eerror "Last command failed; failing" + exit 1 + fi } ebegin "Checking exported symbols in libeinfo.so (data)" |