#! /usr/libexec/atf-sh
atf_test_case tst_misc_d
tst_misc_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.misc.d'
}
tst_misc_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)/tst.misc.d"
}
atf_test_case tst_selfarray2_d
tst_selfarray2_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.selfarray2.d'
}
tst_selfarray2_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)/tst.selfarray2.d"
}
atf_test_case err_D_ARR_LOCAL_thisarray_d
err_D_ARR_LOCAL_thisarray_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_ARR_LOCAL.thisarray.d'
}
err_D_ARR_LOCAL_thisarray_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_ARR_LOCAL.thisarray.d"
}
atf_test_case err_D_DECL_CLASS_selfthis_d
err_D_DECL_CLASS_selfthis_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_DECL_CLASS.selfthis.d'
}
err_D_DECL_CLASS_selfthis_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_DECL_CLASS.selfthis.d"
}
atf_test_case err_D_DECL_CLASS_thisself_d
err_D_DECL_CLASS_thisself_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_DECL_CLASS.thisself.d'
}
err_D_DECL_CLASS_thisself_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_DECL_CLASS.thisself.d"
}
atf_test_case err_D_DECL_IDRED_errval_d
err_D_DECL_IDRED_errval_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_DECL_IDRED.errval.d'
}
err_D_DECL_IDRED_errval_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_DECL_IDRED.errval.d"
}
atf_test_case err_D_OP_INCOMPAT_dec_err_d
err_D_OP_INCOMPAT_dec_err_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_OP_INCOMPAT.dec.err.d'
}
err_D_OP_INCOMPAT_dec_err_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_OP_INCOMPAT.dec.err.d"
}
atf_test_case err_D_OP_INCOMPAT_dupgtype_d
err_D_OP_INCOMPAT_dupgtype_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_OP_INCOMPAT.dupgtype.d'
}
err_D_OP_INCOMPAT_dupgtype_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_OP_INCOMPAT.dupgtype.d"
}
atf_test_case err_D_OP_INCOMPAT_dupltype_d
err_D_OP_INCOMPAT_dupltype_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_OP_INCOMPAT.dupltype.d'
}
err_D_OP_INCOMPAT_dupltype_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_OP_INCOMPAT.dupltype.d"
}
atf_test_case err_D_OP_INCOMPAT_dupttype_d
err_D_OP_INCOMPAT_dupttype_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_OP_INCOMPAT.dupttype.d'
}
err_D_OP_INCOMPAT_dupttype_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_OP_INCOMPAT.dupttype.d"
}
atf_test_case err_D_SYNTAX_declare_d
err_D_SYNTAX_declare_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.D_SYNTAX.declare.d'
}
err_D_SYNTAX_declare_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.D_SYNTAX.declare.d"
}
atf_test_case err_bigglobal_d
err_bigglobal_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.bigglobal.d'
}
err_bigglobal_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.bigglobal.d"
}
atf_test_case err_biglocal_d
err_biglocal_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/err.biglocal.d'
}
err_biglocal_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/err.biglocal.d"
}
atf_test_case tst_16kglobal_d
tst_16kglobal_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.16kglobal.d'
}
tst_16kglobal_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.16kglobal.d"
}
atf_test_case tst_16klocal_d
tst_16klocal_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.16klocal.d'
}
tst_16klocal_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.16klocal.d"
}
atf_test_case tst_basicvar_d
tst_basicvar_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.basicvar.d'
}
tst_basicvar_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.basicvar.d"
}
atf_test_case tst_localvar_d
tst_localvar_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.localvar.d'
}
tst_localvar_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.localvar.d"
}
atf_test_case tst_self_d
tst_self_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.self.d'
}
tst_self_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.self.d"
}
atf_test_case tst_selfarray_d
tst_selfarray_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.selfarray.d'
}
tst_selfarray_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.selfarray.d"
}
atf_test_case tst_selfthis_d
tst_selfthis_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.selfthis.d'
}
tst_selfthis_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.selfthis.d"
}
atf_test_case tst_this_d
tst_this_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.this.d'
}
tst_this_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.this.d"
}
atf_test_case tst_thisself_d
tst_thisself_d_head()
{
    atf_set 'descr' 'DTrace test common/scalars/tst.thisself.d'
}
tst_thisself_d_body()
{
    
    atf_check -s exit:0 -o empty -e empty \
        "$(atf_get_srcdir)/../../dtest" "$(atf_get_srcdir)/tst.thisself.d"
}
atf_init_test_cases()
{
    atf_add_test_case tst_misc_d
    atf_add_test_case tst_selfarray2_d
    atf_add_test_case err_D_ARR_LOCAL_thisarray_d
    atf_add_test_case err_D_DECL_CLASS_selfthis_d
    atf_add_test_case err_D_DECL_CLASS_thisself_d
    atf_add_test_case err_D_DECL_IDRED_errval_d
    atf_add_test_case err_D_OP_INCOMPAT_dec_err_d
    atf_add_test_case err_D_OP_INCOMPAT_dupgtype_d
    atf_add_test_case err_D_OP_INCOMPAT_dupltype_d
    atf_add_test_case err_D_OP_INCOMPAT_dupttype_d
    atf_add_test_case err_D_SYNTAX_declare_d
    atf_add_test_case err_bigglobal_d
    atf_add_test_case err_biglocal_d
    atf_add_test_case tst_16kglobal_d
    atf_add_test_case tst_16klocal_d
    atf_add_test_case tst_basicvar_d
    atf_add_test_case tst_localvar_d
    atf_add_test_case tst_self_d
    atf_add_test_case tst_selfarray_d
    atf_add_test_case tst_selfthis_d
    atf_add_test_case tst_this_d
    atf_add_test_case tst_thisself_d
}
