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."
pull/6/head
Cao Shufeng 2017-05-15 15:36:27 +08:00
parent c873e4a814
commit 726d720c78
1 changed files with 1 additions and 1 deletions

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