diff --git a/test.sh b/test.sh index 85b5c6d5..1c5a0332 100755 --- a/test.sh +++ b/test.sh @@ -1,5 +1,4 @@ #!/bin/bash -e - # test suite... echo running test.sh echo "ENV:" diff --git a/test/test-bashfmt.sh b/test/test-bashfmt.sh index 85528f84..b591ab68 100755 --- a/test/test-bashfmt.sh +++ b/test/test-bashfmt.sh @@ -1,7 +1,7 @@ #!/bin/bash # check for any bash files that aren't properly formatted # TODO: this is hardly exhaustive - +echo running test-bashfmt.sh set -o errexit set -o nounset set -o pipefail diff --git a/test/test-gofmt.sh b/test/test-gofmt.sh index d2abcf3c..e40aa769 100755 --- a/test/test-gofmt.sh +++ b/test/test-gofmt.sh @@ -1,6 +1,6 @@ #!/bin/bash # original version of this script from kubernetes project, under ALv2 license - +echo running test-gofmt.sh set -o errexit set -o nounset set -o pipefail diff --git a/test/test-omv.sh b/test/test-omv.sh index c0641efa..d382c5b3 100755 --- a/test/test-omv.sh +++ b/test/test-omv.sh @@ -1,5 +1,6 @@ -#!/bin/bash -ie +#!/bin/bash -i # simple test harness for testing mgmt via omv +echo running test-omv.sh CWD=`pwd` DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" # dir! cd "$DIR" >/dev/null # work from test directory diff --git a/test/test-reproducible.sh b/test/test-reproducible.sh index 4a3d52fc..0a8538a7 100755 --- a/test/test-reproducible.sh +++ b/test/test-reproducible.sh @@ -1,6 +1,6 @@ #!/bin/bash # simple test for reproducibility, probably needs major improvements - +echo running test-reproducible.sh set -o errexit set -o pipefail diff --git a/test/test-shell.sh b/test/test-shell.sh index 26eafee5..a50a851a 100755 --- a/test/test-shell.sh +++ b/test/test-shell.sh @@ -1,7 +1,7 @@ #!/bin/bash # simple test harness for testing mgmt # NOTE: this will rm -rf /tmp/mgmt/ - +echo running test-shell.sh set -o errexit set -o pipefail diff --git a/test/test-yamlfmt.sh b/test/test-yamlfmt.sh index d97bc33d..0d9bca5a 100755 --- a/test/test-yamlfmt.sh +++ b/test/test-yamlfmt.sh @@ -1,6 +1,6 @@ #!/bin/bash # check for any yaml files that aren't properly formatted - +echo running test-yamlfmt.sh set -o errexit set -o nounset set -o pipefail