1
0
mirror of https://github.com/stefanocasazza/ULib.git synced 2025-09-28 19:05:55 +08:00
ULib/tests/debug/trace.test
2015-05-28 19:04:25 +02:00

21 lines
360 B
Bash
Executable File

#!/bin/sh
. ../.function
## trace.test -- Test trace feature
start_msg trace
rm -f trace.*test_trace*.[0-9]*
## gli argomenti commentati sono per la simulazione degli errori
unset VALGRIND
UTRACE_SIGNAL="5 10k 0"
#STRACE=$TRUSS
start_prg trace # per_simulazione_errori 30
# Test against expected output
test_output_wc w trace trace.*test_trace*.[0-9]*