#! /usr/libexec/atf-sh
atf_test_case err_D_PRAGCTL_INVAL_tabdefine_d
err_D_PRAGCTL_INVAL_tabdefine_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.D_PRAGCTL_INVAL.tabdefine.d'
}
err_D_PRAGCTL_INVAL_tabdefine_d_body()
{
    atf_expect_fail "test is known to fail"
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_PRAGCTL_INVAL.tabdefine.d"
}
atf_test_case err_D_IDENT_UNDEF_afterprobe_d
err_D_IDENT_UNDEF_afterprobe_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.D_IDENT_UNDEF.afterprobe.d'
}
err_D_IDENT_UNDEF_afterprobe_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_IDENT_UNDEF.afterprobe.d"
}
atf_test_case err_D_SYNTAX_withoutpound_d
err_D_SYNTAX_withoutpound_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.D_SYNTAX.withoutpound.d'
}
err_D_SYNTAX_withoutpound_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_SYNTAX.withoutpound.d"
}
atf_test_case err_defincomp_d
err_defincomp_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.defincomp.d'
}
err_defincomp_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.defincomp.d"
}
atf_test_case err_ifdefelsenotendif_d
err_ifdefelsenotendif_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.ifdefelsenotendif.d'
}
err_ifdefelsenotendif_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.ifdefelsenotendif.d"
}
atf_test_case err_ifdefincomp_d
err_ifdefincomp_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.ifdefincomp.d'
}
err_ifdefincomp_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.ifdefincomp.d"
}
atf_test_case err_ifdefnotendif_d
err_ifdefnotendif_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.ifdefnotendif.d'
}
err_ifdefnotendif_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.ifdefnotendif.d"
}
atf_test_case err_incompelse_d
err_incompelse_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.incompelse.d'
}
err_incompelse_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.incompelse.d"
}
atf_test_case err_mulelse_d
err_mulelse_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/err.mulelse.d'
}
err_mulelse_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.mulelse.d"
}
atf_test_case tst_ifdef_d
tst_ifdef_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.ifdef.d'
}
tst_ifdef_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.ifdef.d"
}
atf_test_case tst_ifndef_d
tst_ifndef_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.ifndef.d'
}
tst_ifndef_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.ifndef.d"
}
atf_test_case tst_ifnotdef_d
tst_ifnotdef_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.ifnotdef.d'
}
tst_ifnotdef_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.ifnotdef.d"
}
atf_test_case tst_logicaland_d
tst_logicaland_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.logicaland.d'
}
tst_logicaland_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.logicaland.d"
}
atf_test_case tst_logicalandor_d
tst_logicalandor_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.logicalandor.d'
}
tst_logicalandor_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.logicalandor.d"
}
atf_test_case tst_logicalor_d
tst_logicalor_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.logicalor.d'
}
tst_logicalor_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.logicalor.d"
}
atf_test_case tst_muland_d
tst_muland_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.muland.d'
}
tst_muland_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.muland.d"
}
atf_test_case tst_mulor_d
tst_mulor_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.mulor.d'
}
tst_mulor_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.mulor.d"
}
atf_test_case tst_precondi_d
tst_precondi_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.precondi.d'
}
tst_precondi_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.precondi.d"
}
atf_test_case tst_predicatedeclare_d
tst_predicatedeclare_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.predicatedeclare.d'
}
tst_predicatedeclare_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.predicatedeclare.d"
}
atf_test_case tst_preexp_d
tst_preexp_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.preexp.d'
}
tst_preexp_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.preexp.d"
}
atf_test_case tst_preexpelse_d
tst_preexpelse_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.preexpelse.d'
}
tst_preexpelse_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.preexpelse.d"
}
atf_test_case tst_preexpif_d
tst_preexpif_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.preexpif.d'
}
tst_preexpif_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.preexpif.d"
}
atf_test_case tst_preexpifelse_d
tst_preexpifelse_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.preexpifelse.d'
}
tst_preexpifelse_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.preexpifelse.d"
}
atf_test_case tst_withinprobe_d
tst_withinprobe_d_head()
{
    atf_set 'descr' 'DTrace test common/preprocessor/tst.withinprobe.d'
}
tst_withinprobe_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.withinprobe.d"
}
atf_init_test_cases()
{
    atf_add_test_case err_D_PRAGCTL_INVAL_tabdefine_d
    atf_add_test_case err_D_IDENT_UNDEF_afterprobe_d
    atf_add_test_case err_D_SYNTAX_withoutpound_d
    atf_add_test_case err_defincomp_d
    atf_add_test_case err_ifdefelsenotendif_d
    atf_add_test_case err_ifdefincomp_d
    atf_add_test_case err_ifdefnotendif_d
    atf_add_test_case err_incompelse_d
    atf_add_test_case err_mulelse_d
    atf_add_test_case tst_ifdef_d
    atf_add_test_case tst_ifndef_d
    atf_add_test_case tst_ifnotdef_d
    atf_add_test_case tst_logicaland_d
    atf_add_test_case tst_logicalandor_d
    atf_add_test_case tst_logicalor_d
    atf_add_test_case tst_muland_d
    atf_add_test_case tst_mulor_d
    atf_add_test_case tst_precondi_d
    atf_add_test_case tst_predicatedeclare_d
    atf_add_test_case tst_preexp_d
    atf_add_test_case tst_preexpelse_d
    atf_add_test_case tst_preexpif_d
    atf_add_test_case tst_preexpifelse_d
    atf_add_test_case tst_withinprobe_d
}
