xref: /minix3/external/bsd/atf/dist/tools/sample/atf-run.hooks (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc#
2*0a6a1f1dSLionel Sambuc# Definition of custom hooks for atf-run.
3*0a6a1f1dSLionel Sambuc#
4*0a6a1f1dSLionel Sambuc# Uncomment any hooks that you want to override and add your own code
5*0a6a1f1dSLionel Sambuc# to them.  Some sample calls are included in them.  Be very careful
6*0a6a1f1dSLionel Sambuc# with what you print from here.
7*0a6a1f1dSLionel Sambuc#
8*0a6a1f1dSLionel Sambuc# See atf-run(1) for more details.
9*0a6a1f1dSLionel Sambuc#
10*0a6a1f1dSLionel Sambuc
11*0a6a1f1dSLionel Sambuc#info_start_hook()
12*0a6a1f1dSLionel Sambuc#{
13*0a6a1f1dSLionel Sambuc#    default_info_start_hook "${@}"
14*0a6a1f1dSLionel Sambuc#
15*0a6a1f1dSLionel Sambuc#    atf_tps_writer_info "extra.info" "An example"
16*0a6a1f1dSLionel Sambuc#}
17*0a6a1f1dSLionel Sambuc
18*0a6a1f1dSLionel Sambuc#info_end_hook()
19*0a6a1f1dSLionel Sambuc#{
20*0a6a1f1dSLionel Sambuc#    default_info_end_hook "${@}"
21*0a6a1f1dSLionel Sambuc#
22*0a6a1f1dSLionel Sambuc#    atf_tps_writer_info "extra.info" "An example"
23*0a6a1f1dSLionel Sambuc#}
24