From e4fc06ed9e40f1e25f1ac242302413f55b0dc195 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sun, 2 Jul 2017 00:14:18 +0200 Subject: [PATCH] tests: use random data to avoid false positive due to stale data --- tests/integration/hook-shift_ts.sh | 2 +- tests/integration/pipe-file-advio.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/hook-shift_ts.sh b/tests/integration/hook-shift_ts.sh index a5d1e8c97..03aacf002 100755 --- a/tests/integration/hook-shift_ts.sh +++ b/tests/integration/hook-shift_ts.sh @@ -29,7 +29,7 @@ NUM_SAMPLES=${NUM_SAMPLES:-10} OFFSET=-10 EPSILON=0.05 -villas-signal sine -l ${NUM_SAMPLES} -r 10 | villas-hook shift_ts offset=${OFFSET} | villas-hook stats format=\"json\" output=\"${STATS_FILE}\" > /dev/null +villas-signal random -l ${NUM_SAMPLES} -r 10 | villas-hook shift_ts offset=${OFFSET} | villas-hook stats format=\"json\" output=\"${STATS_FILE}\" > /dev/null jq .owd ${STATS_FILE} diff --git a/tests/integration/pipe-file-advio.sh b/tests/integration/pipe-file-advio.sh index 409d28e6f..68df24daa 100755 --- a/tests/integration/pipe-file-advio.sh +++ b/tests/integration/pipe-file-advio.sh @@ -52,7 +52,7 @@ nodes = { } EOF -villas-signal sine -n -l ${NUM_SAMPLES} > ${INPUT_FILE} +villas-signal random -n -l ${NUM_SAMPLES} > ${INPUT_FILE} villas-pipe -s ${CONFIG_FILE} remote_file_out < ${INPUT_FILE}