mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
tests: remove debugging output from pipe-loopback-websocket
This commit is contained in:
parent
10faca42d8
commit
d2da63887b
1 changed files with 2 additions and 8 deletions
|
@ -31,7 +31,7 @@ CONFIG_FILE2=$(mktemp)
|
|||
INPUT_FILE=$(mktemp)
|
||||
OUTPUT_FILE=$(mktemp)
|
||||
|
||||
NUM_SAMPLES=${NUM_SAMPLES:-10}
|
||||
NUM_SAMPLES=${NUM_SAMPLES:-100}
|
||||
|
||||
cat > ${CONFIG_FILE} << EOF
|
||||
{
|
||||
|
@ -67,16 +67,10 @@ villas-signal random -l ${NUM_SAMPLES} -n > ${INPUT_FILE}
|
|||
VILLAS_LOG_PREFIX=$(colorize "[Recv] ") \
|
||||
villas-pipe -r -d 15 -l ${NUM_SAMPLES} ${CONFIG_FILE2} node2 > ${OUTPUT_FILE} &
|
||||
|
||||
PID=$!
|
||||
|
||||
VILLAS_LOG_PREFIX=$(colorize "[Send] ") \
|
||||
villas-pipe -s -d 15 ${CONFIG_FILE} node1 < ${INPUT_FILE}
|
||||
|
||||
wait ${PID}
|
||||
|
||||
cat ${OUTPUT_FILE}
|
||||
echo
|
||||
cat ${INPUT_FILE}
|
||||
wait $!
|
||||
|
||||
# Compare data
|
||||
villas-test-cmp ${INPUT_FILE} ${OUTPUT_FILE}
|
||||
|
|
Loading…
Add table
Reference in a new issue