summaryrefslogtreecommitdiffstats
path: root/xdp-monitor/tests/test-xdp-monitor.sh
blob: b85c7c91fb99800288c3edbd37dd2a44159ebf67 (plain)
1
2
3
4
5
6
7
8
9
10
11
XDP_LOADER=${XDP_LOADER:-./xdp-loader}
XDP_MONITOR=${XDP_MONITOR:-./xdp-monitor}
ALL_TESTS="test_monitor"

test_monitor()
{
    export XDP_SAMPLE_IMMEDIATE_EXIT=1
    check_run $XDP_MONITOR -vv
    check_run $XDP_MONITOR -s -vv
    check_run $XDP_MONITOR -e -vv
}