From a37a09044bed81cd898f7744eeb28ff596602674 Mon Sep 17 00:00:00 2001 From: Timo Makinen Date: Mon, 31 Oct 2022 17:08:53 +0000 Subject: [PATCH] Add ShellCheck tests --- tests/03-shellcheck.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 tests/03-shellcheck.sh diff --git a/tests/03-shellcheck.sh b/tests/03-shellcheck.sh new file mode 100755 index 0000000..45bffde --- /dev/null +++ b/tests/03-shellcheck.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +set -eu + +cd "$(dirname "$0")/.." || exit 1 + +find . -type f -name "*.sh" -print0 | xargs -0 -t -n 1 shellcheck --