diff --git a/tests/p_libbpf/0_install_libbpf.sh b/tests/p_libbpf/0_install_libbpf.sh new file mode 100755 index 0000000..c6ef745 --- /dev/null +++ b/tests/p_libbpf/0_install_libbpf.sh @@ -0,0 +1,9 @@ +# Author: Piyush Kumar +# Author: Munish Kumar +# Author: Ayush Gupta +# Author: Konark Modi + +t_Log "Running $0 -installing lftp." +t_InstallPackage libbpf +t_InstallPackage bcc-tools + diff --git a/tests/p_libbpf/10_test_bcc_tools.sh b/tests/p_libbpf/10_test_bcc_tools.sh new file mode 100755 index 0000000..ddf6093 --- /dev/null +++ b/tests/p_libbpf/10_test_bcc_tools.sh @@ -0,0 +1,15 @@ +#!/bin/sh +# Author: Piyush Kumar +# Author: Munish Kumar +# Author: Ayush Gupta +# Author: Konark Modi +# Christoph Galuschka + +t_Log "Running $0 - bcc-tools: argdist test" + +if [ "$CONTAINERTEST" -eq "1" ]; then + t_Log "Running in container -> SKIP" + exit 0 +fi + +/usr/share/bcc/tools/argdist -i 1 -n 5 -C 'p:c:umask(u32 mask):u32:mask'