Skip to content

Initial status value #21

@SaitTalhaNisanci

Description

@SaitTalhaNisanci

Currently we have a structure like this in our scripts:

status = 0
# run the test and assign the exit code to status
exit(status)

Wouldnt it be better to start with a nonzero status code so that if we dont run our tests the script will return with a nonzero code? Currently if the tests are not run the initial status which is 0 will be returned.

An example can be seen here:
https://github.com/citusdata/the-process/blob/upgradeTester/circleci/images/exttester/files/sbin/install-and-test-ext#L15

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions