Some tests are implemented in C (using tap.h) or in Python
and don't use tap.sh's facilities. However, it is sourced
by utils.sh and prints an error message during its clean-up
because a plan was never set.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
_cleanup(){
local rc=0
- if (( _plan_set == 0 )) ; then
- diag "Looks like your test died before it could output anything."
- return $rc
- fi
-
if (( _test_died != 0 )) ; then
diag "Looks like your test died just after $_executed_tests."
return $rc