Skip to content

malformed return code in util/weekly_build/apptests/test_ufswm.sh #1510

@BruceKropp-Raytheon

Description

@BruceKropp-Raytheon

Describe the bug
util/weekly_build/apptests/test_ufswm.sh (lines 20 and 21)

This bash script attempts to return command status as rc
but should return $rc
also the assignment of rc is malformed:

rc = $?
return rc

should be changed to:

rc=$?
return $rc

To Reproduce

  1. running the script with valid args
  2. an error is reported regarding the return code

Expected behavior
return code should be a standard bash return integer: 0, or non-zero

System:
Orion

Additional context
none

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions