#! /usr/libexec/atf-sh
atf_test_case err_D_PDESC_ZERO_begin_d
err_D_PDESC_ZERO_begin_d_head()
{
    atf_set 'descr' 'DTrace test common/begin/err.D_PDESC_ZERO.begin.d'
}
err_D_PDESC_ZERO_begin_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_PDESC_ZERO.begin.d"
}
atf_test_case err_D_PDESC_ZERO_tick_d
err_D_PDESC_ZERO_tick_d_head()
{
    atf_set 'descr' 'DTrace test common/begin/err.D_PDESC_ZERO.tick.d'
}
err_D_PDESC_ZERO_tick_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_PDESC_ZERO.tick.d"
}
atf_test_case tst_begin_d
tst_begin_d_head()
{
    atf_set 'descr' 'DTrace test common/begin/tst.begin.d'
}
tst_begin_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.begin.d"
}
atf_test_case tst_multibegin_d
tst_multibegin_d_head()
{
    atf_set 'descr' 'DTrace test common/begin/tst.multibegin.d'
}
tst_multibegin_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.multibegin.d"
}
atf_init_test_cases()
{
    atf_add_test_case err_D_PDESC_ZERO_begin_d
    atf_add_test_case err_D_PDESC_ZERO_tick_d
    atf_add_test_case tst_begin_d
    atf_add_test_case tst_multibegin_d
}
