tests: sync tests/utils/tap with Babeltrace repository
[lttng-tools.git] / tests / utils / tap / tap.sh
index 109cc8e4ce5bc4ebba3af6f8f9c669b2c26f8365..4b51106c013273aee268342734446f5c43f2aabe 100755 (executable)
@@ -381,6 +381,11 @@ BAIL_OUT(){
 _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
This page took 0.023129 seconds and 4 git commands to generate.