Bug 2494102

Summary: shunit2 can be used as executable, thus should be under /usr/bin/
Product: [Fedora] Fedora Reporter: Laudin Molina <laudin.molina>
Component: shunit2Assignee: Hushan Jia <hushan.jia>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 44CC: hushan.jia
Target Milestone: ---Keywords: Reopened, UserExperience
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Laudin Molina 2026-06-29 07:44:21 UTC
I cannot reopen https://bugzilla.redhat.com/show_bug.cgi?id=2216783 so I am creating this one Fedora 44.

The REAME.md[1] of shUnit2 lists examples that are not possible with the current installation in Fedora 44, as the use cases require shunit2 to be in the PATH.

[1] https://github.com/kward/shunit2/blob/master/README.md#running-tests-from-the-command-line

Reproducible: Always

Steps to Reproduce:
1. sudo dnf install shunit2
2. cd /usr/share/doc/shunit2/examples
3. shunit2 equality_test.sh
Actual Results:
-bash: shunit2: command not found

Expected Results:
# shunit2 is in PATH and can execute tests

shunit2 equality_test.sh
ASSERT:Unknown failure encountered running a test

Ran 0 tests.

FAILED (failures=1)