Add some initial shell parsing tests.

These just test to see if there is a bash syntax error in these shell
libraries.

For #51642
pull/6/head
Matt Liggett 2017-08-30 12:28:03 -07:00
parent 9a21343b20
commit 0271687533
3 changed files with 28 additions and 0 deletions

View File

@ -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"],
)

0
cluster/clientbin.sh Normal file → Executable file
View File

0
cluster/kube-util.sh Normal file → Executable file
View File