diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:23 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-07-24 09:54:44 +0000 |
commit | 836b47cb7e99a977c5a23b059ca1d0b5065d310e (patch) | |
tree | 1604da8f482d02effa033c94a84be42bc0c848c3 /fluent-bit/lib/librdkafka-2.1.0/packaging/tools/rdutcoverage.sh | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.tar.xz netdata-836b47cb7e99a977c5a23b059ca1d0b5065d310e.zip |
Merging upstream version 1.46.3.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/lib/librdkafka-2.1.0/packaging/tools/rdutcoverage.sh')
-rwxr-xr-x | fluent-bit/lib/librdkafka-2.1.0/packaging/tools/rdutcoverage.sh | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/fluent-bit/lib/librdkafka-2.1.0/packaging/tools/rdutcoverage.sh b/fluent-bit/lib/librdkafka-2.1.0/packaging/tools/rdutcoverage.sh deleted file mode 100755 index e99c51bdc..000000000 --- a/fluent-bit/lib/librdkafka-2.1.0/packaging/tools/rdutcoverage.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/bash -# -# Verify that code coverage numbers are not reused in multiple places. -# - -set -e - -echo "Checking for duplicate coverage numbers:" -cnt=0 -for d in $(egrep -Rsoh 'RD_UT_COVERAGE\([[:digit:]]+\)' src \ - | sort | uniq -c | \ - egrep -v '^[[:space:]]*1 ' | awk '{print $2}'); do - grep -RsnF "$d" src - cnt=$(expr $cnt + 1) -done - -echo "" - -if [[ $cnt -gt 0 ]]; then - echo "$cnt duplicates found: please use unique numbers" - exit 1 -else - echo "No duplicate(s) found" - exit 0 -fi |