diff options
Diffstat (limited to 'fluent-bit/lib/librdkafka-2.1.0/tests/run-producer-tests.sh')
-rwxr-xr-x | fluent-bit/lib/librdkafka-2.1.0/tests/run-producer-tests.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fluent-bit/lib/librdkafka-2.1.0/tests/run-producer-tests.sh b/fluent-bit/lib/librdkafka-2.1.0/tests/run-producer-tests.sh new file mode 100755 index 00000000..7f1035cb --- /dev/null +++ b/fluent-bit/lib/librdkafka-2.1.0/tests/run-producer-tests.sh @@ -0,0 +1,16 @@ +#!/bin/bash +# +# +# Run all tests that employ a producer. +# + +set -e + +TESTS=$(for t in $(grep -l '[pp]roduce' 0*.{c,cpp}); do \ + echo $t | sed -e 's/^\([0-9][0-9][0-9][0-9]\)-.*/\1/g' ; \ + done) + +export TESTS +echo "# Running producer tests: $TESTS" + +./run-test.sh $* |