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

30 lines
396 B
Bash
Executable File

#!/bin/sh
. ../.function
## interrupt -- Test interrupt feature
start_msg interrupt
#UTRACE="0 5M 0"
#UOBJDUMP="0 100k 10"
#USIMERR="error.sim"
#EXEC_ON_EXIT="/utility/stack_dump.sh"
export UTRACE UOBJDUMP USIMERR EXEC_ON_EXIT
unset VALGRIND
cat << EOF >tmp/c
c
c
c
c
c
EOF
start_cmd interrupt < tmp/c
RESULT=0
# Test against expected output
test_output_wc l interrupt err/interrupt.err