From 2f37227861674af0e5bbb987e6534c747553f0f2 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 28 Oct 2018 13:25:19 +0100 Subject: [PATCH] tests: some improvements to pipe socket tests --- tests/integration/pipe-loopback-socket.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/integration/pipe-loopback-socket.sh b/tests/integration/pipe-loopback-socket.sh index 9c96243cc..1ebefa5a6 100755 --- a/tests/integration/pipe-loopback-socket.sh +++ b/tests/integration/pipe-loopback-socket.sh @@ -52,7 +52,7 @@ for VECTORIZE in ${VECTORIZES}; do case ${LAYER} in udp) - LOCAL="*:12000" + LOCAL="127.0.0.1:12000" REMOTE="127.0.0.1:12000" ;; @@ -63,7 +63,6 @@ case ${LAYER} in ;; eth) - # We use IP protocol number 253 which is reserved for experimentation and testing according to RFC 7042 LOCAL="00:00:00:00:00:00%lo:34997" REMOTE="00:00:00:00:00:00%lo:34997" ;; @@ -100,7 +99,7 @@ cat > ${CONFIG_FILE} << EOF } EOF -villas-pipe -l ${NUM_SAMPLES} ${CONFIG_FILE} node1 > ${OUTPUT_FILE} < ${INPUT_FILE} +villas-pipe -d DEBUG -l ${NUM_SAMPLES} ${CONFIG_FILE} node1 < ${INPUT_FILE} # Ignore timestamp and seqeunce no if in raw format if ! villas_format_supports_header $FORMAT; then @@ -113,10 +112,13 @@ RC=$? if (( ${RC} != 0 )); then echo "=========== Sub-test failed for: format=${FORMAT}, layer=${LAYER}, verify_source=${VERIFY_SOURCE}, vectorize=${VECTORIZE}" + echo "Config:" cat ${CONFIG_FILE} echo + echo "Input:" cat ${INPUT_FILE} echo + echo "Output:" cat ${OUTPUT_FILE} exit ${RC} else