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:
Kubernetes Submit Queue 2017-05-15 09:44:44 -07:00 committed by GitHub
commit 4c2d900be2

View File

@ -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