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

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

Open
BruceKropp-Raytheon opened this issue Feb 12, 2025 · 0 comments
Labels
bug Something is not working

Comments

@BruceKropp-Raytheon
Copy link

BruceKropp-Raytheon commented Feb 12, 2025

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

@BruceKropp-Raytheon BruceKropp-Raytheon added the bug Something is not working label Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is not working
Projects
None yet
Development

No branches or pull requests

1 participant