From c9f532550c92393838217b067cdf000686ccc8ad Mon Sep 17 00:00:00 2001 From: Sebastien GODARD Date: Mon, 30 Sep 2019 11:07:53 +0200 Subject: [PATCH] simtest: Fix false positive test result Signed-off-by: Sebastien GODARD --- tests/00220 | 2 +- tests/TLIST | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/00220 b/tests/00220 index 180e6ad..7908fd4 100644 --- a/tests/00220 +++ b/tests/00220 @@ -6,4 +6,4 @@ then mv tests/sa18 tests/sa${DATE} fi echo sa2: File is sa${DATE} -LC_ALL=C TZ=GMT ./sa2 -A && mv tests/sar${DATE} tests/out.sa2.tmp +LC_ALL=C TZ=GMT ./sa2 -A && mv tests/sar${DATE} tests/out.sa2.tmp && rm -f tests/sa${DATE} diff --git a/tests/TLIST b/tests/TLIST index b1f5c9c..b501854 100644 --- a/tests/TLIST +++ b/tests/TLIST @@ -41,7 +41,7 @@ NOTES: 00200 ./sa1 --boot; ./sa1 --unix_time=1555593629 1 1; ./sa1 --unix_time=1555593649 1 1 00205 LC_ALL=C TZ=GMT ./sar -f tests/sa18 > tests/out.sa1.tmp 00208 diff -u tests/out.sa1.tmp tests/expected.sa1 -00220 LC_ALL=C TZ=GMT ./sa2 -A && mv tests/sar${DATE} tests/out.sa2.tmp +00220 LC_ALL=C TZ=GMT ./sa2 -A && mv tests/sar${DATE} tests/out.sa2.tmp && rm -f tests/sa${DATE} 00225 diff -u tests/out.sa2.tmp tests/expected.sa2 ===== Checking JSON output validity -- 2.40.0