From c01e8eb6819a60d41b77fe4db523bb3692ad5a37 Mon Sep 17 00:00:00 2001 From: Adam Saleh Date: Oct 04 2022 15:11:08 +0000 Subject: Update 10_test_bcc_tools.sh The check for container environment was wrong. --- diff --git a/tests/p_libbpf/10_test_bcc_tools.sh b/tests/p_libbpf/10_test_bcc_tools.sh index ddf6093..41760d4 100755 --- a/tests/p_libbpf/10_test_bcc_tools.sh +++ b/tests/p_libbpf/10_test_bcc_tools.sh @@ -5,11 +5,12 @@ # Author: Konark Modi # Christoph Galuschka + t_Log "Running $0 - bcc-tools: argdist test" -if [ "$CONTAINERTEST" -eq "1" ]; then +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 - -/usr/share/bcc/tools/argdist -i 1 -n 5 -C 'p:c:umask(u32 mask):u32:mask'