NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

misc/59155: bin/sh/t_input:nul_elimination, possibly other sh tests, require root for silly reasons



>Number:         59155
>Category:       misc
>Synopsis:       bin/sh/t_input:nul_elimination, possibly other sh tests, require root for silly reasons
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 09 03:25:00 +0000 2025
>Originator:     Jason Thorpe
>Release:        NetBSD 10.1
>Organization:
RISCy Business
>Environment:
NetBSD avanti.ktnet 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/alpha/compile/GENERIC alpha

hw.model = AlphaStation 200 4/233
>Description:
After running a full test suite pass on a non-emulated Alpha, I noticed some shell test failures.  In the case of bin/sh/t_input:nul_elimination, it seems to be because it wants to create a file called "helper.sh" in the current working directory.  This failed because I did not run the tests as root.

The test suite was run by performing the following commands as a non-root user:

cd /usr/tests
atf-run | atf-report

>How-To-Repeat:
cd /usr/tests/bin/sh
./t_input nul_elimination


>Fix:
Not provided.



Home | Main Index | Thread Index | Old Index