summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/librdkafka-2.1.0/tests/run-consumer-tests.sh
blob: 32165c2d49fb5f1a281f64454acb97067210ebb0 (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 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 $*