ATF-log archive

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

#45: simple test aborts silently when result file opening fails



#45: simple test aborts silently when result file opening fails
------------------------------+---------------------------------------------
 Reporter:  njoly@...         |       Owner:  jmmv
     Type:  defect            |      Status:  new 
 Priority:  minor             |   Milestone:      
Component:  MISC              |     Version:  HEAD
 Keywords:                    |  
------------------------------+---------------------------------------------
 I noticed that a simple test will abort silently if result file cannot be
 opened ... A small hint about the problem should be printed here.

 njoly@nicodeme [atf/atf-c]> ./t_fs getcwd
 passed
 njoly@nicodeme [atf/atf-c]> ./t_fs -r /dev/stdout getcwd
 passed
 njoly@nicodeme [atf/atf-c]> ./t_fs -r dummy getcwd
 njoly@nicodeme [atf/atf-c]> cat root/dummy
 passed
 njoly@nicodeme [atf/atf-c]> ./t_fs -r /donotexists getcwd
 zsh: abort (core dumped)  ./t_fs -r /donotexists getcwd

-- 
Ticket URL: <http://www.julipedia.org/projects/atf/trac/ticket/45>
Automated Testing Framework <http://www.NetBSD.org/~jmmv/atf/>
Automated Testing Framework


Home | Main Index | Thread Index | Old Index