mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #45814 from CaoShuFeng/unit-test-find
Automatic merge from submit-queue (batch tested with PRs 45807, 45814) Fix invalid bash script in unit test. This change fix such error when we run "make test": "find: invalid expression; you have used a binary operator '-o' with nothing before it." @deads2k **Release note**: ```release-note ```
This commit is contained in:
commit
4c2d900be2
@ -84,7 +84,7 @@ kube::test::find_dirs() {
|
||||
|
||||
find ./staging/src/k8s.io/kube-apiextensions-server -not \( \
|
||||
\( \
|
||||
-o -path './test/integration/*' \
|
||||
-path '*/test/integration/*' \
|
||||
\) -prune \
|
||||
\) -name '*_test.go' \
|
||||
-name '*_test.go' -print0 | xargs -0n1 dirname | sed 's|^\./staging/src/|./vendor/|' | LC_ALL=C sort -u
|
||||
|
Loading…
Reference in New Issue
Block a user