mirror of
https://github.com/stefanocasazza/ULib.git
synced 2025-09-28 19:05:55 +08:00
27 lines
338 B
Bash
Executable File
27 lines
338 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. ../.function
|
|
|
|
## process.test -- Test process feature
|
|
|
|
start_msg process
|
|
|
|
#UTRACE="0 5M 0"
|
|
#UOBJDUMP="-1 100k 10"
|
|
#USIMERR="error.sim"
|
|
export UTRACE UOBJDUMP USIMERR
|
|
|
|
cat << EOF >tmp/c
|
|
c
|
|
c
|
|
c
|
|
c
|
|
c
|
|
EOF
|
|
|
|
#STRACE=$TRUSS
|
|
start_prg process /bin/cat test_process.cpp < tmp/c
|
|
|
|
# Test against expected output
|
|
test_output_diff process
|