File tree Expand file tree Collapse file tree 6 files changed +5
-4
lines changed Expand file tree Collapse file tree 6 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ Kmesh eBPF 单元测试框架是一个用于测试 eBPF 内核态程序的工具
88
99测试框架的目录结构如下:
1010
11- ``` plaintext
11+ ``` plaintext
1212test/bpf_ut/
1313├── bpftest/ # Go 语言实现的单元测试框架
1414│ ├── bpf_test.go # 测试框架核心逻辑以及辅助函数
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ require (
2222 github.com/safchain/ethtool v0.5.10
2323 github.com/sirupsen/logrus v1.9.3
2424 github.com/spf13/cobra v1.8.1
25- github.com/spf13/pflag v1.0.6
25+ github.com/spf13/pflag v1.0.7
2626 github.com/stretchr/testify v1.10.0
2727 github.com/vishvananda/netlink v1.3.1
2828 golang.org/x/sys v0.32.0
Original file line number Diff line number Diff line change @@ -404,8 +404,8 @@ github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cA
404404github.com/spf13/cobra v1.8.1 h1:e5/vxKd/rZsfSJMUX1agtjeTDf+qv1/JdBF8gg5k9ZM =
405405github.com/spf13/cobra v1.8.1 /go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3kD9Y =
406406github.com/spf13/pflag v1.0.5 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
407- github.com/spf13/pflag v1.0.6 h1:jFzHGLGAlb3ruxLB8MhbI6A8+AQX/2eW4qeyNZXNp2o =
408- github.com/spf13/pflag v1.0.6 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
407+ github.com/spf13/pflag v1.0.7 h1:vN6T9TfwStFPFM5XzjsvmzZkLuaLX+HS+0SeFLRgU6M =
408+ github.com/spf13/pflag v1.0.7 /go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg =
409409github.com/spf13/viper v1.19.0 h1:RWq5SEjt8o25SROyN3z2OrDB9l7RPd3lwTWU8EcEdcI =
410410github.com/spf13/viper v1.19.0 /go.mod h1:GQUN9bilAbhU/jgc1bKs99f/suXKeUMct8Adx5+Ntkg =
411411github.com/stoewer/go-strcase v1.3.0 h1:g0eASXYtp+yvN9fK8sH94oCIk0fau9uV1/ZdJ0AVEzs =
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ if [ -z "$GITHUB_ACTIONS" ]; then
3636 docker run --rm \
3737 -v " $PWD " :/workspace \
3838 -w /workspace \
39+ --user " $( id -u) :$( id -g) " \
3940 davidanson/markdownlint-cli2:v0.18.1 \
4041 markdownlint-cli2 --fix " **/*.md"
4142fi
You can’t perform that action at this time.
0 commit comments