summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/librdkafka-2.1.0/tests/run-producer-tests.sh
blob: 7f1035cbb176d048c481d29cacddc1f4c1c0d929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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 $*