diff --git a/run-tests b/run-tests index 6004911..c228f15 100755 --- a/run-tests +++ b/run-tests @@ -1,4 +1,7 @@ -#!/bin/bash -eu +#!/usr/bin/env bash + +set -e +set -u # Author: w0rp # diff --git a/test/script/check-supported-tools-tables b/test/script/check-supported-tools-tables index 32cebb2..220c742 100755 --- a/test/script/check-supported-tools-tables +++ b/test/script/check-supported-tools-tables @@ -1,4 +1,7 @@ -#!/bin/bash -eu +#!/usr/bin/env bash + +set -e +set -u # This script compares the table of supported tools in both the README file # and the doc/ale.txt file, so we can complain if they don't match up. diff --git a/test/script/check-toc b/test/script/check-toc index cc2d2b9..8e41158 100755 --- a/test/script/check-toc +++ b/test/script/check-toc @@ -1,4 +1,7 @@ -#!/bin/bash -eu +#!/usr/bin/env bash + +set -e +set -u # This script checks that the table of contents for the supported tools is # sorted, and that the table matches the files. diff --git a/test/script/custom-checks b/test/script/custom-checks index 791053d..76b9bc8 100755 --- a/test/script/custom-checks +++ b/test/script/custom-checks @@ -1,4 +1,7 @@ -#!/bin/bash -eu +#!/usr/bin/env bash + +set -e +set -u exit_code=0 image=w0rp/ale diff --git a/test/script/custom-linting-rules b/test/script/custom-linting-rules index ef6d792..0d1a0fd 100755 --- a/test/script/custom-linting-rules +++ b/test/script/custom-linting-rules @@ -1,4 +1,7 @@ -#!/bin/bash -eu +#!/usr/bin/env bash + +set -e +set -u # This Bash script implements custom sanity checks for scripts beyond what # Vint covers, which are easy to check with regex. diff --git a/test/script/run-vader-tests b/test/script/run-vader-tests index a10b8ba..3e7e815 100755 --- a/test/script/run-vader-tests +++ b/test/script/run-vader-tests @@ -1,4 +1,7 @@ -#!/bin/bash -eu +#!/usr/bin/env bash + +set -e +set -u image=w0rp/ale docker_flags=(--rm -v "$PWD:/testplugin" -v "$PWD/test:/home" -w /testplugin "$image") diff --git a/test/script/run-vint b/test/script/run-vint index e114030..0d5b6e1 100755 --- a/test/script/run-vint +++ b/test/script/run-vint @@ -1,4 +1,7 @@ -#!/bin/bash -eu +#!/usr/bin/env bash + +set -e +set -u exit_code=0 image=w0rp/ale