Skip to content

Commit

Permalink
Fix awscli tests to fail on first error (#152)
Browse files Browse the repository at this point in the history
Fixes: #147
  • Loading branch information
nitisht authored Sep 26, 2017
1 parent cf2b2f0 commit c02b969
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions run/core/awscli/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -638,20 +638,20 @@ function test_put_object_error() {
# main handler for all the tests.
main() {
# Success tests
test_create_bucket
test_create_object
test_list_objects
test_multipart_upload
test_copy_object
test_presigned_object

rv=test_create_bucket && \
test_create_object && \
test_list_objects && \
test_multipart_upload && \
test_copy_object && \
test_presigned_object && \
# Success cli ops.
test_aws_s3_cp
test_aws_s3_sync

test_aws_s3_cp && \
test_aws_s3_sync && \
# Error tests
test_list_objects_error
test_list_objects_error && \
test_put_object_error

return $rv
}

_init "$@" && main

0 comments on commit c02b969

Please sign in to comment.