mirror of https://github.com/k3s-io/k3s
Add some initial shell parsing tests.
These just test to see if there is a bash syntax error in these shell libraries. For #51642pull/6/head
parent
9a21343b20
commit
0271687533
|
@ -46,3 +46,31 @@ pkg_tar(
|
|||
"//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"],
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue