mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
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."
This commit is contained in:
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
Block a user