diff --git a/hack/make-rules/test.sh b/hack/make-rules/test.sh index 1abfc827cc3..d577645fd0b 100755 --- a/hack/make-rules/test.sh +++ b/hack/make-rules/test.sh @@ -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