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

32 lines
385 B
Bash
Executable File

#!/bin/sh
. ../.function
## event.test -- Test wrapping libevent features
start_msg event
#UTRACE="0 5M 0"
#UOBJDUMP="0 100k 10"
#USIMERR="error.sim"
export UTRACE UOBJDUMP USIMERR
start_prg_background event
kill_cmd INT
$SLEEP
kill_cmd INT
$SLEEP
kill_cmd INT
$SLEEP
kill_cmd INT
$SLEEP
kill_cmd INT
$SLEEP
$SLEEP
$SLEEP
# Test against expected output
test_output_wc w event