mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Add some initial shell parsing tests.
These just test to see if there is a bash syntax error in these shell libraries. For #51642
This commit is contained in:
parent
9a21343b20
commit
0271687533
@ -46,3 +46,31 @@ pkg_tar(
|
|||||||
"//cluster/saltbase:salt-manifests",
|
"//cluster/saltbase:salt-manifests",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
# These tests just verify that bash can interpret the file.
|
||||||
|
sh_test(
|
||||||
|
name = "common_test",
|
||||||
|
srcs = ["common.sh"],
|
||||||
|
data = [
|
||||||
|
":all-srcs",
|
||||||
|
],
|
||||||
|
deps = ["//hack/lib"],
|
||||||
|
)
|
||||||
|
|
||||||
|
sh_test(
|
||||||
|
name = "clientbin_test",
|
||||||
|
srcs = ["clientbin.sh"],
|
||||||
|
data = [
|
||||||
|
":all-srcs",
|
||||||
|
],
|
||||||
|
deps = ["//hack/lib"],
|
||||||
|
)
|
||||||
|
|
||||||
|
sh_test(
|
||||||
|
name = "kube-util_test",
|
||||||
|
srcs = ["kube-util.sh"],
|
||||||
|
data = [
|
||||||
|
":all-srcs",
|
||||||
|
],
|
||||||
|
deps = ["//hack/lib"],
|
||||||
|
)
|
||||||
|
0
cluster/clientbin.sh
Normal file → Executable file
0
cluster/clientbin.sh
Normal file → Executable file
0
cluster/kube-util.sh
Normal file → Executable file
0
cluster/kube-util.sh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user