mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-25 12:43:23 +00:00
Fixed variable check for new WHAT command
This commit is contained in:
parent
31aac97a85
commit
8772e26315
@ -384,13 +384,12 @@ runTests() {
|
|||||||
kubectl get "${kube_flags[@]}" -f hack/testdata/kubernetes-service.yaml
|
kubectl get "${kube_flags[@]}" -f hack/testdata/kubernetes-service.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -z "$WHAT" ]; then #ccheck not empty
|
if [[ -n "${WHAT-}" ]]; then
|
||||||
for pkg in ${WHAT}
|
for pkg in ${WHAT}
|
||||||
do
|
do
|
||||||
record_command run_${pkg}_tests
|
record_command run_${pkg}_tests
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
|
|
||||||
#########################
|
#########################
|
||||||
# Kubectl version #
|
# Kubectl version #
|
||||||
#########################
|
#########################
|
||||||
|
Loading…
Reference in New Issue
Block a user