mirror of
https://github.com/docker/docs.git
synced 2026-03-31 00:08:55 +07:00
Fix test_output path and remove
Signed-off-by: Riyaz Faizullabhoy <riyaz.faizullabhoy@docker.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user