Commit 6c3ce690 authored by Jérome Perrin's avatar Jérome Perrin

shellcheck

parent 3dec636c
...@@ -15,4 +15,4 @@ ...@@ -15,4 +15,4 @@
[template] [template]
filename = instance.cfg filename = instance.cfg
md5sum = f07a5d7e90a99a28e1dd32df23dee755 md5sum = 742e080e0568612626d59433a6136934
...@@ -119,6 +119,7 @@ recipe = slapos.recipe.template:jinja2 ...@@ -119,6 +119,7 @@ recipe = slapos.recipe.template:jinja2
rendered = $${create-directory:etc}/$${:_buildout_section_name_} rendered = $${create-directory:etc}/$${:_buildout_section_name_}
template = inline: template = inline:
export PATH=${coreutils:location}/bin:${curl:location}/bin:${openssl:location}/bin:${jq:location}/bin:${sed:location}/bin:${grep:location}/bin:${git:location}/bin:${libxslt:location}/bin:${socat:location}/bin:${lmsensors:location}/bin:${rsync:location}/bin/:${buildout:bin-directory}:$PATH export PATH=${coreutils:location}/bin:${curl:location}/bin:${openssl:location}/bin:${jq:location}/bin:${sed:location}/bin:${grep:location}/bin:${git:location}/bin:${libxslt:location}/bin:${socat:location}/bin:${lmsensors:location}/bin:${rsync:location}/bin/:${buildout:bin-directory}:$PATH
export PATH=${shellcheck:location}/bin/:$PATH
export SLAPOS_TEST_IPV4=$${slap-configuration:ipv4-random} export SLAPOS_TEST_IPV4=$${slap-configuration:ipv4-random}
export SLAPOS_TEST_IPV6=$${slap-configuration:ipv6-random} export SLAPOS_TEST_IPV6=$${slap-configuration:ipv6-random}
export SLAPOS_TEST_EGGS_DIRECTORY=$${buildout:eggs-directory} export SLAPOS_TEST_EGGS_DIRECTORY=$${buildout:eggs-directory}
...@@ -161,6 +162,11 @@ template = ...@@ -161,6 +162,11 @@ template =
cwd="""$${caucase:location}""", cwd="""$${caucase:location}""",
summaryf=PyLint.summary, summaryf=PyLint.summary,
) )
TestCase(
"caucase:shellcheck",
['shellcheck', 'shell/caucase.sh'],
cwd="""$${caucase:location}""",
)
TestCase( TestCase(
"erp5.util", "erp5.util",
['python', '-m', 'unittest', 'discover', '-v', '--start', 'erp5/tests/'], ['python', '-m', 'unittest', 'discover', '-v', '--start', 'erp5/tests/'],
......
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