FrontPage 

Fuego 1.1 wiki

Login or create account

function assert define in split format

NAME [edit section]

= NAME =
assert_define

SYNOPSIS [edit section]

= SYNOPSIS =
 * assert_define <varname>

DESCRIPTION [edit section]

= DESCRIPTION =
This function checks that the indicated variable is defined.  Otherwise,
it aborts the currently running test.

EXAMPLES [edit section]

= 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
This second example shows use of assert_define following a call to is_on_target

ENVIRONMENT and ARGUMENTS [edit section]

= ENVIRONMENT and ARGUMENTS =

RETURN [edit section]

= RETURN =
Returns non-zero on error.

SOURCE [edit section]

= SOURCE =
Located in ''scripts/functions.sh''

SEE ALSO [edit section]

test_pre_check, is_on_target
= SEE ALSO =
 * [[function_test_pre_check|test_pre_check]], [[function_is_on_target|is_on_target]]
TBWiki engine 1.8.3 by Tim Bird