1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/ulib/log.test
2016-04-21 16:06:43 +02:00

28 lines
370 B
Bash
Executable File

#!/bin/sh
. ../.function
## log.test -- Test log feature
start_msg log
rm -f tmp/test_log.log*
#UTRACE="0 5M -1"
#UOBJDUMP="-1 1M 10"
#USIMERR="error.sim"
export UTRACE UOBJDUMP USIMERR
#STRACE=$TRUSS
start_prg_background log 15
wait_prg
#start_prg log 15
$SLEEP
if [ "$TERM" != "msys" ]; then
$SYNC
fi
# Test against expected output
test_output_diff log