From 4ba2b326284765e942044db13a7f0dae702bec93 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 28 Apr 2024 09:10:00 +0200 Subject: Adding upstream version 1.3.1. Signed-off-by: Daniel Baumann --- xdp-monitor/tests/test-xdp-monitor.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 xdp-monitor/tests/test-xdp-monitor.sh (limited to 'xdp-monitor/tests') diff --git a/xdp-monitor/tests/test-xdp-monitor.sh b/xdp-monitor/tests/test-xdp-monitor.sh new file mode 100644 index 0000000..b85c7c9 --- /dev/null +++ b/xdp-monitor/tests/test-xdp-monitor.sh @@ -0,0 +1,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 +} -- cgit v1.2.3