Fix test_output path and remove

Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
Riyaz Faizullabhoy 2016-04-12 10:00:25 -07:00
parent 4216a37149
commit cb080ede06
1 changed files with 6 additions and 1 deletions

View File

@ -10,7 +10,12 @@ function cleanup {
function cleanupAndExit {
cleanup
rm /test_output/SUCCESS
# Check for existence of SUCCESS
ls test_output/SUCCESS
exitCode=$?
# Clean up test_output dir and exit
rm -rf test_output
exit $exitCode
}
if [[ -z "${CIRCLECI}" ]]; then