mirror of https://github.com/k3s-io/k3s
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
parent
c873e4a814
commit
726d720c78
|
@ -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