NetBSD-Bugs archive

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

bin/44237: atf sh compiler is too lenient



>Number:         44237
>Category:       bin
>Synopsis:       atf sh compiler is too lenient
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Dec 15 19:20:00 +0000 2010
>Originator:     Antti Kantee
>Release:        
>Organization:
>Environment:
>Description:
Omitting "cleanup" from atf_test_case causes cleanup to be missed.
The same happens if "cleanup" is present but tc_cleanup() is missing.
In both cases is it highly likely the test author wanted cleanup
to be run.
>How-To-Repeat:
make mistakes
>Fix:
Flag an error if there is an inconsistency in the test case.



Home | Main Index | Thread Index | Old Index