Commit 4c2d900b authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

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 ```
parents 330efc10 726d720c
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment