# Command: testsuite::test_lazyhandler

NEST HelpDesk | Command Index | NEST Quick Reference

Name:

    testsuite::test_lazyhandler - test if SLI returns exit code 0 when an error is handled by a lazy user error handler.

Synopsis:

    (test_lazyhandler) run ->

Description:

      This script establishes a user error handler and then provokes an
      error. The error handler does NOT reset errodict::newerror to false.
      This is wrong behaviour, but it is no error that normally prevents
      execution of the script. Although this is strictly speaking a
      programming error, NEST should pass this scipt and return exit code 0.

Author:

    Ruediger Kupper

FirstVersion:

    03-jul-2008

SeeAlso:

- testsuite::test_pass
- testsuite::test_fail
- testsuite::test_stop
- testsuite::test_goodhandler
- testsuite::test_lazyhandler
- testsuite::test_badhandler

Source:

    /opt/conda/conda-bld/nest_1512421404550/work/nest-2.12.0/testsuite/selftests/test_lazyhandler.sli

NEST HelpDesk | Command Index | NEST Quick Reference

© 2004 The NEST Initiative