Skip to content

Test script syntax error does not fail run #54

@dcasavant

Description

@dcasavant

I am running bash_unit with travis-ci and I inadvertently introduced a syntax error into one of my test scripts. The script failed to run but the build succeeded. The failure should have been caught.

In Travis:

script:
  - make test
  - ./bash_unit tests/test_*

Logs:

$ ./bash_unit tests/test_*
Running tests in tests/test_wait_for_job_success
test_wait_for_job_success: line 22: syntax error near unexpected token 'done'
test_wait_for_job_success: line 22: 'done'
The command "./bash_unit tests/test_*" exited with 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions