NetBSD-Bugs archive

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

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



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

State-Changed-From-To: open->feedback
State-Changed-By: riastradh%NetBSD.org@localhost
State-Changed-When: Sun, 09 Mar 2025 14:00:59 +0000
State-Changed-Why:
Does this reproduce if you use `atf-run t_input'?

Normally, atf-run creates a temporary directory which the test can
write into.  If you don't use atf-run, you are responsible for
creating a temporary directory and chdiring into it when you run the
test, e.g.:

mkdir /tmp/test
cd /tmp/test
/usr/tests/bin/sh/t_input nul_elimination

It would be nice if there were a way to ask atf-run to run a single
test case by name, but we don't have that as far as I know.





Home | Main Index | Thread Index | Old Index