Bug 2216783 - shunit2 can be used as executable, thus should be under /usr/bin/
Summary: shunit2 can be used as executable, thus should be under /usr/bin/
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: shunit2
Version: 38
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Hushan Jia
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-06-22 14:35 UTC by Erik Schilling
Modified: 2024-05-28 13:12 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-28 13:12:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.