Make test scripts run without /bin/bash

The test scripts hardcoded #!/bin/bash while they are not really
requiring bash. Use the more portable #!/usr/bin/env sh instead, so that
they use the default shell.

Signed-off-by: Tom Wieczorek <twieczorek@mirantis.com>
pull/11991/head
Tom Wieczorek 1 year ago
parent 2398830f18
commit 0e3c12778d
No known key found for this signature in database
GPG Key ID: FE33A2282371E831

@ -1,2 +1,2 @@
#!/bin/bash
echo $*
#!/usr/bin/env sh
echo "$@"

@ -1,2 +1,2 @@
#!/bin/bash
exit $*
#!/usr/bin/env sh
exit "$1"

@ -1,8 +1,8 @@
#!/bin/bash
#!/usr/bin/env sh
echo ENVIRONMENT
env
echo ""
echo ARGUMENTS
echo $@
echo "$@"

@ -1,8 +1,8 @@
#!/bin/bash
#!/usr/bin/env sh
echo ENVIRONMENT
env
echo ""
echo ARGUMENTS
echo $@
echo "$@"

@ -1,9 +1,9 @@
#!/bin/bash
#!/usr/bin/env sh
echo "Hello from a Helm plugin"
echo "PARAMS"
echo $*
echo "$@"
$HELM_BIN ls --all

Loading…
Cancel
Save