Files
kyanos/testdata/test_not_add_cap_bpf.sh
AvaIon 8b8fe640b7 feat: Support MongoDB protocol (#275)
* The preliminary parsing of the MongoDB protocol has been completed, but there are still issues such as incorrect end times.

* Mongodb Unit test done

* The preliminary parsing of the MongoDB protocol has been completed, but there are still issues such as incorrect end times.

* Mongodb Unit test done

* feat: support mongo

* fix: install mongsh failed

* fix: install mongodb shell

---------

Signed-off-by: 烈香 <hengyoush1@163.com>
Co-authored-by: xiaoweihao <xiaoweihao@tp-link.com.hk>
Co-authored-by: 烈香 <hengyoush1@163.com>
2025-02-27 22:29:55 +08:00

13 lines
247 B
Bash
Executable File

#!/usr/bin/env sh
set -x
CMD="$1"
FILE_PREFIX="/tmp/kyanos"
LNAME="${FILE_PREFIX}_test_not_add_cap_bpf_before.log"
timeout 30 ${CMD} watch http --debug-output 2>&1 | tee "${LNAME}" &
wait
cat "${LNAME}"
cat "${LNAME}" | grep "requires CAP_BPF"