ATF-log archive

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

Re: #13: Need wrapper around atf-run | atf-report



#13: Need wrapper around atf-run | atf-report
---------------------+------------------------------------------------------
  Reporter:  jmmv    |       Owner:  jmmv
      Type:  defect  |      Status:  new 
  Priority:  minor   |   Milestone:      
 Component:  MISC    |     Version:      
Resolution:          |    Keywords:      
---------------------+------------------------------------------------------

Comment (by Garrett Cooper <gcooper@...>):

 The most robust means to do this is to probably do something similar to
 the following in the example:

 (atf-run || echo $? > result-file) | (atf-report || echo $? result-file);
 [ -f result-file ] && exit `cat result-file 2>/dev/null`

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


Home | Main Index | Thread Index | Old Index