Bug 2216783

Summary: shunit2 can be used as executable, thus should be under /usr/bin/
Product: [Fedora] Fedora Reporter: Erik Schilling <fedora>
Component: shunit2Assignee: Hushan Jia <hushan.jia>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: chris.bandy, hushan.jia
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-28 13:12:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Erik Schilling 2023-06-22 14:35:05 UTC
shunit2's README mentions a use-case of invoking shunit2 as executable:

    shunit2 test-script.sh testOne testTwo otherFunction

Also, some projects are loading shunit2 by just doing `. shunit2` which loads it from $PATH.

Both is currently not possible with the way things are packaged in Fedora. A project would have to do `. /usr/share/shunit2/shunit2`, which would not be compatible with what, for example Ubuntu/Debian does.

Reproducible: Always

Comment 1 Aoife Moloney 2024-05-28 13:12:51 UTC
Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21.

Fedora Linux 38 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.