aboutsummaryrefslogtreecommitdiff
path: root/tests/do.sh.in
diff options
context:
space:
mode:
authorlns <matzeton@googlemail.com>2022-05-31 10:55:46 +0200
committerlns <matzeton@googlemail.com>2022-05-31 10:55:46 +0200
commite4962809fded216a2a4af9e1183d71177c88ad66 (patch)
tree7ebaf01b3ed0a546261f7ba3e93d35662b0e2349 /tests/do.sh.in
parent354addd6936a94a9c74a1e1fb42284b6b7f51a80 (diff)
Force roaring bitmap to use ndpi memory wrappers.improved/wuse-after-free-false-positive
GCC analyzer won't complain about possible use-after-free (false positive). * tests/do.sh prints word diff's only once and not the same over and over again * sync unit tests Signed-off-by: lns <matzeton@googlemail.com>
Diffstat (limited to 'tests/do.sh.in')
-rwxr-xr-xtests/do.sh.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/do.sh.in b/tests/do.sh.in
index 99917f5ae..63d2fa591 100755
--- a/tests/do.sh.in
+++ b/tests/do.sh.in
@@ -91,7 +91,7 @@ check_results() {
echo "$CMD [old vs new]"
${CMD_DIFF} result/$f.out /tmp/reader.out
if [ ! -z "${CMD_COLORDIFF}" -a ! -z "${CMD_WDIFF}" ]; then
- ${CMD_WDIFF} -n -3 result/$f.out /tmp/reader.out | ${CMD_COLORDIFF}
+ ${CMD_WDIFF} -n -3 result/$f.out /tmp/reader.out | sort | uniq | ${CMD_COLORDIFF}
fi
RC=$(( RC + 1 ))
fi