diff --git a/.circleci/config.yml b/.circleci/config.yml index a623603696..8d9e2df23e 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -63,20 +63,20 @@ jobs: name: Run scap-open with modern bpf 🏎️ command: | cd /tmp/libs/build - sudo ./libscap/examples/01-open/scap-open --modern_bpf --num_events 0 + sudo ./libscap/examples/01-open/scap-open --modern_bpf --num_events 10 - run: name: Run scap-open with bpf 🏎️ command: | cd /tmp/libs/build - sudo ./libscap/examples/01-open/scap-open --bpf ./driver/bpf/probe.o --num_events 0 + sudo ./libscap/examples/01-open/scap-open --bpf ./driver/bpf/probe.o --num_events 10 - run: name: Run scap-open with kmod 🏎️ command: | cd /tmp/libs/build sudo insmod ./driver/scap.ko || true - sudo ./libscap/examples/01-open/scap-open --kmod --num_events 0 + sudo ./libscap/examples/01-open/scap-open --kmod --num_events 10 sudo rmmod scap # Here we test libraries diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bdf0bba86c..961eee1b30 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -262,18 +262,18 @@ jobs: - name: Run scap-open with modern bpf 🏎️ run: | cd build - sudo ./libscap/examples/01-open/scap-open --modern_bpf --num_events 0 + sudo ./libscap/examples/01-open/scap-open --modern_bpf --num_events 10 - name: Run scap-open with bpf 🏎️ run: | cd build - sudo ./libscap/examples/01-open/scap-open --bpf ./driver/bpf/probe.o --num_events 0 + sudo ./libscap/examples/01-open/scap-open --bpf ./driver/bpf/probe.o --num_events 10 - name: Run scap-open with kmod 🏎️ run: | cd build sudo insmod ./driver/scap.ko - sudo ./libscap/examples/01-open/scap-open --kmod --num_events 0 + sudo ./libscap/examples/01-open/scap-open --kmod --num_events 10 sudo rmmod scap - name: Run libscap_test 🏎️