ATF-log archive

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

Re: #35: atf no longer fails tests which end in a crash



On Wed Jun 09 2010 at 14:51:03 -0000, atf trac notification wrote:
> #35: atf no longer fails tests which end in a crash
> --------------------------+-------------------------------------------------
>  Reporter:  pooka@?       |       Owner:  jmmv    
>      Type:  defect        |      Status:  accepted
>  Priority:  critical      |   Milestone:  0.10    
> Component:  atf-run       |     Version:  HEAD    
>  Keywords:                |  
> --------------------------+-------------------------------------------------
> 
> Comment(by jmmv):
> 
>  This seems to work for me and tests/atf/atf-run/t_integration:signaled is
>  testing for this case.  Could it be that your test program does not fail
>  when executed under atf-run due to the environment changes?
> 
>  You can try running atf-run (without atf-report) and looking at the output
>  of the twistymount test case.  If your test program actually crashes, you
>  should see the panic message in there.  Let me know the results.

tc-start: twistymount
tc-so:panic: rumpuser fatal failure 11 (Resource deadlock avoided)
tc-end: twistymount, passed

And that print comes from:
        if (fail_rv) {                                                  \
                printf("panic: rumpuser fatal failure %d (%s)\n",       \
                    fail_rv, strerror(fail_rv));                        \
                    abort();                                            \
        }                                                               \


Home | Main Index | Thread Index | Old Index