From 2f5c3f189d83b6297a93dee83819092a63a33e88 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 16 Aug 2016 14:24:31 +1200 Subject: Rename "test" targets to "check" Mostly to make way for an actual test suite beyond mere syntax checking --- check/bash | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 check/bash (limited to 'check/bash') diff --git a/check/bash b/check/bash new file mode 100755 index 00000000..f203c2c1 --- /dev/null +++ b/check/bash @@ -0,0 +1,6 @@ +#!/bin/sh +for bash in bash/* bash/bashrc.d/* bash/bash_profile.d/* ; do + [ -f "$bash" ] || continue + bash -n "$bash" || exit +done +printf 'All bash(1) scripts parsed successfully.\n' -- cgit v1.2.3