mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-10-31 12:45:23 +08:00
Make tutorials 50–53 safer to operate (#225)
* Make tutorials 50-53 safer to operate * Make pacer conflict recovery interface-safe * Keep tutorial prose on the user path * Allow focused excerpts for long user-space loaders --------- Co-authored-by: LinuxDev9002 <i@littlefisher.me>
This commit is contained in:
@@ -51,6 +51,10 @@ clean:
|
||||
$(Q)rm -rf $(OUTPUT) $(APPS)
|
||||
|
||||
test: all
|
||||
@if [ "$$(id -u)" -ne 0 ]; then \
|
||||
echo "test requires root; run it inside the tutorial KVM" >&2; \
|
||||
exit 1; \
|
||||
fi
|
||||
python3 tests/test_tcp_quarantine.py ./tcp_quarantine
|
||||
|
||||
$(OUTPUT) $(OUTPUT)/libbpf $(BPFTOOL_OUTPUT):
|
||||
|
||||
Reference in New Issue
Block a user