Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix awscli tests to fail on first error #152

Merged
merged 1 commit into from
Sep 26, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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