From 8142944b3988e11e623b83a677b310aa54db3bc5 Mon Sep 17 00:00:00 2001 From: Marvin Klimke Date: Mon, 25 Feb 2019 15:06:27 +0100 Subject: [PATCH] properly delete temp config files in rtp tests --- tests/integration/pipe-loopback-rtp-dual.sh | 2 +- tests/integration/pipe-loopback-rtp-tbf.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/pipe-loopback-rtp-dual.sh b/tests/integration/pipe-loopback-rtp-dual.sh index 6de543ea5..180365129 100755 --- a/tests/integration/pipe-loopback-rtp-dual.sh +++ b/tests/integration/pipe-loopback-rtp-dual.sh @@ -128,7 +128,7 @@ villas-pipe ${CONFIG_FILE_SRC} rtp_node > ${OUTPUT_FILE} villas-test-cmp ${CMPFLAGS} ${INPUT_FILE} ${OUTPUT_FILE} RC=$? -rm ${OUTPUT_FILE} ${INPUT_FILE} ${CONFIG_FILE} +rm ${OUTPUT_FILE} ${INPUT_FILE} ${CONFIG_FILE_SRC} ${CONFIG_FILE_DEST} kill $PID diff --git a/tests/integration/pipe-loopback-rtp-tbf.sh b/tests/integration/pipe-loopback-rtp-tbf.sh index 45bb5cb41..168a5616f 100755 --- a/tests/integration/pipe-loopback-rtp-tbf.sh +++ b/tests/integration/pipe-loopback-rtp-tbf.sh @@ -134,7 +134,7 @@ villas-pipe ${CONFIG_FILE_SRC} rtp_node > ${OUTPUT_FILE} villas-test-cmp ${CMPFLAGS} ${INPUT_FILE} ${OUTPUT_FILE} RC=$? -rm ${OUTPUT_FILE} ${INPUT_FILE} ${CONFIG_FILE} +rm ${OUTPUT_FILE} ${INPUT_FILE} ${CONFIG_FILE_SRC} ${CONFIG_FILE_DEST} kill $PID exit $RC