mirror of https://github.com/docker/docs.git
Fix test_output path and remove
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
parent
4216a37149
commit
cb080ede06
|
@ -10,7 +10,12 @@ function cleanup {
|
||||||
|
|
||||||
function cleanupAndExit {
|
function cleanupAndExit {
|
||||||
cleanup
|
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
|
if [[ -z "${CIRCLECI}" ]]; then
|
||||||
|
|
Loading…
Reference in New Issue