diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-05 12:08:18 +0000 |
commit | 5da14042f70711ea5cf66e034699730335462f66 (patch) | |
tree | 0f6354ccac934ed87a2d555f45be4c831cf92f4a /src/fluent-bit/lib/librdkafka-2.1.0/tests/run-consumer-tests.sh | |
parent | Releasing debian version 1.44.3-2. (diff) | |
download | netdata-5da14042f70711ea5cf66e034699730335462f66.tar.xz netdata-5da14042f70711ea5cf66e034699730335462f66.zip |
Merging upstream version 1.45.3+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/fluent-bit/lib/librdkafka-2.1.0/tests/run-consumer-tests.sh')
-rwxr-xr-x | src/fluent-bit/lib/librdkafka-2.1.0/tests/run-consumer-tests.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/librdkafka-2.1.0/tests/run-consumer-tests.sh b/src/fluent-bit/lib/librdkafka-2.1.0/tests/run-consumer-tests.sh new file mode 100755 index 000000000..32165c2d4 --- /dev/null +++ b/src/fluent-bit/lib/librdkafka-2.1.0/tests/run-consumer-tests.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# +# +# Run all tests that employ a consumer. +# + +set -e + +TESTS=$(for t in $(grep -l '[Cc]onsume' 0*.{c,cpp}); do \ + echo $t | sed -e 's/^\([0-9][0-9][0-9][0-9]\)-.*/\1/g' ; \ + done) + +export TESTS +echo "# Running consumer tests: $TESTS" + +./run-test.sh $* |