function assert define in 'raw' format
= NAME =
assert_define
= SYNOPSIS =
* assert_define <varname>
= DESCRIPTION =
This function checks that the indicated variable is defined. Otherwise,
it aborts the currently running test.
= EXAMPLES =
Here are some sample invocations:
{{{#!YellowBox
assert_define FUNCTIONAL_BC_EXPR
assert_define FUNCTIONAL_BC_RESULT
}}}
{{{#!YellowBox
is_on_target bc BC_PROGRAM /bin:/usr/bin:/usr/local/bin
assert_define BC_PROGRAM
}}}
This second example shows use of assert_define following a call to is_on_target
= ENVIRONMENT and ARGUMENTS =
= RETURN =
Returns non-zero on error.
= SOURCE =
Located in ''scripts/functions.sh''
= SEE ALSO =
* [[function_test_pre_check|test_pre_check]], [[function_is_on_target|is_on_target]]