Check for resmoke_exit_code in evergreen.yml fails in dash

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.1
    • Affects Version/s: None
    • Component/s: Testing Infrastructure
    • None
    • Fully Compatible
    • ALL
    • TIG 2018-1-15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The work for SERVER-32121 uses the following check:

      if [[ $resmoke_exit_code = 74 ]]; then
      ...
      

      The [[ condition is not supported in dash, which is the default shell on Ubuntu. Suggested changes are:

      • Change test to use [
      • Set the shell to bash for "run tests"

            Assignee:
            Kevin Albertson
            Reporter:
            Jonathan Abrahams (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: