#! /usr/libexec/atf-sh
atf_test_case tst_else_d
tst_else_d_head()
{
    atf_set 'descr' 'DTrace test common/sugar/tst.else.d'
}
tst_else_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.else.d"
}
atf_test_case tst_if_d
tst_if_d_head()
{
    atf_set 'descr' 'DTrace test common/sugar/tst.if.d'
}
tst_if_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.if.d"
}
atf_test_case tst_if2_d
tst_if2_d_head()
{
    atf_set 'descr' 'DTrace test common/sugar/tst.if2.d'
}
tst_if2_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.if2.d"
}
atf_test_case tst_if_before_after_d
tst_if_before_after_d_head()
{
    atf_set 'descr' 'DTrace test common/sugar/tst.if_before_after.d'
}
tst_if_before_after_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.if_before_after.d"
}
atf_test_case tst_if_nested_d
tst_if_nested_d_head()
{
    atf_set 'descr' 'DTrace test common/sugar/tst.if_nested.d'
}
tst_if_nested_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.if_nested.d"
}
atf_test_case tst_if_trailing_semicolon_d
tst_if_trailing_semicolon_d_head()
{
    atf_set 'descr' 'DTrace test common/sugar/tst.if_trailing_semicolon.d'
}
tst_if_trailing_semicolon_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.if_trailing_semicolon.d"
}
atf_test_case tst_if_trailing_semicolon2_d
tst_if_trailing_semicolon2_d_head()
{
    atf_set 'descr' 'DTrace test common/sugar/tst.if_trailing_semicolon2.d'
}
tst_if_trailing_semicolon2_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.if_trailing_semicolon2.d"
}
atf_init_test_cases()
{
    atf_add_test_case tst_else_d
    atf_add_test_case tst_if_d
    atf_add_test_case tst_if2_d
    atf_add_test_case tst_if_before_after_d
    atf_add_test_case tst_if_nested_d
    atf_add_test_case tst_if_trailing_semicolon_d
    atf_add_test_case tst_if_trailing_semicolon2_d
}
