diff --git a/tests/p_libbpf/0_install_libbpf.sh b/tests/p_libbpf/0_install_libbpf.sh new file mode 100755 index 0000000..4461c58 --- /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 libbpf and bcc-tools." +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..41760d4 --- /dev/null +++ b/tests/p_libbpf/10_test_bcc_tools.sh @@ -0,0 +1,16 @@ +#!/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 [ -z "$CONTAINERTEST" ] ; then + /usr/share/bcc/tools/argdist -i 1 -n 5 -C 'p:c:umask(u32 mask):u32:mask' +else + t_Log "Running in container -> SKIP" + exit 0 +fi