summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/include.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/include.rc b/tests/include.rc
index 56d0aa44b9f..3573912a665 100644
--- a/tests/include.rc
+++ b/tests/include.rc
@@ -173,6 +173,7 @@ function test_footer()
echo "FAILED COMMAND: $saved_cmd"
fi
if [ "$EXIT_EARLY" = "1" ]; then
+ cleanup
exit $RET
fi
fi