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

25 lines
425 B
Bash
Executable File

#!/bin/sh
. ../.function
## command.test -- Test command feature
start_msg command
#UTRACE="0 5M 0"
#UOBJDUMP="-1 100k 10"
#USIMERR="error.sim"
#VALGRIND=valgrind
export UTRACE UOBJDUMP USIMERR
#STRACE=$TRUSS
start_prg command
if [ -n "$WINELOADER" ]; then
mv out/command.out out/command.out1
grep -v "test_command.cpp:" out/command.out1 > out/command.out
fi
# Test against expected output
test_output_wc w command