Commit 02716875 authored by Matt Liggett's avatar Matt Liggett

Add some initial shell parsing tests.

These just test to see if there is a bash syntax error in these shell libraries. For #51642
parent 9a21343b
...@@ -46,3 +46,31 @@ pkg_tar( ...@@ -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"],
)
File mode changed from 100644 to 100755
File mode changed from 100644 to 100755
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment