1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/debug/error.sim
2015-01-23 17:24:36 +01:00

10 lines
685 B
Plaintext

# -----------------------------------------------------------------------------
# error.sim: file for simulation of error
# -----------------------------------------------------------------------------
# <classname>::method <random range> <return type> <return value> <errno value>
# -----------------------------------------------------------------------------
::stat 5 i -1 13 # (EACCES - Permission denied)
::malloc 0 p 0x0 12 # (ENOMEM - Not enough space)
::setitimer 0 i -1 14 # (EFAULT - Bad address)
# -----------------------------------------------------------------------------