From cb080ede060e771ec98ca30dfd12397703c481dd Mon Sep 17 00:00:00 2001 From: Riyaz Faizullabhoy Date: Tue, 12 Apr 2016 10:00:25 -0700 Subject: [PATCH] Fix test_output path and remove Signed-off-by: Riyaz Faizullabhoy --- buildscripts/integrationtest.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/buildscripts/integrationtest.sh b/buildscripts/integrationtest.sh index 8208d7c4fe..56b623c2fb 100755 --- a/buildscripts/integrationtest.sh +++ b/buildscripts/integrationtest.sh @@ -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