NetBSD-Bugs archive

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

misc/59354: librumphijack/t_tcpip leaves clutter at /out



>Number:         59354
>Category:       misc
>Synopsis:       librumphijack/t_tcpip leaves clutter at /out
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Apr 25 22:40:00 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The RumpBSshD Foundout
>Environment:
>Description:
     95         env LD_PRELOAD=/usr/lib/librumphijack.so \
     96 	    /usr/sbin/sshd -d -e -E out -f ./sshd_config &

https://nxr.netbsd.org/xref/src/tests/lib/librumphijack/t_tcpip.sh?r=1.25#95

The output file `-E out' is taken relative to /, not to the working directory, so it creates a file /out rather than a file in the test's temporary directory.
>How-To-Repeat:
cd /usr/tests/lib/librumphijack
atf-run t_tcpip | atf-report
>Fix:
-E "$(pwd)/out"



Home | Main Index | Thread Index | Old Index