NetBSD-Bugs archive

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

bin/44882: ATF testprograms are called with "random" stdin



>Number:         44882
>Category:       bin
>Synopsis:       ATF testprograms are called with "random" stdin
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 19 13:50:00 +0000 2011
>Originator:     Martin Husemann
>Release:        NetBSD 5.99.48
>Organization:
The NetBSD Foundation, Inc.
>Environment:
System: NetBSD nelly.aprisoft.de 5.99.48 NetBSD 5.99.48 (NELLY.MP) #150: Mon 
Mar 28 21:06:10 CEST 2011 
martin%emmas.aprisoft.de@localhost:/nelly/usr/src/sys/arch/sparc64/compile/NELLY.MP
 sparc64
Architecture: sparc64
Machine: sparc64
>Description:

ATF test programs inherit file descriptor 0 from the invoking environment,
so it may sometimes be a "proper" terminal, sometimes something else.
This might cause differences between manual atf runs (or test program
invocations) and automatic test runs.

In a quick discussion about the curses testcases failing in the sparc64
automatic test runs, Julio suggested to change atf to always open /dev/null
on stdin for test programs.

This is just a reminder.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index