summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun-tests5
-rwxr-xr-xtest/script/check-supported-tools-tables5
-rwxr-xr-xtest/script/check-toc5
-rwxr-xr-xtest/script/custom-checks5
-rwxr-xr-xtest/script/custom-linting-rules5
-rwxr-xr-xtest/script/run-vader-tests5
-rwxr-xr-xtest/script/run-vint5
7 files changed, 28 insertions, 7 deletions
diff --git a/run-tests b/run-tests
index 6004911a..c228f15d 100755
--- a/run-tests
+++ b/run-tests
@@ -1,4 +1,7 @@
-#!/bin/bash -eu
+#!/usr/bin/env bash
+
+set -e
+set -u
# Author: w0rp <devw0rp@gmail.com>
#
diff --git a/test/script/check-supported-tools-tables b/test/script/check-supported-tools-tables
index 32cebb2d..220c7427 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 cc2d2b9c..8e411589 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 791053d4..76b9bc86 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 ef6d792f..0d1a0fd1 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 a10b8baf..3e7e815c 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 e1140307..0d5b6e11 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