aboutsummaryrefslogtreecommitdiff
path: root/check/pdksh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-16 14:24:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-16 14:24:50 +1200
commit2f5c3f189d83b6297a93dee83819092a63a33e88 (patch)
tree20bc97584202d210d0d6ac62c21afd7850c9e697 /check/pdksh
parentChange Zsh URL to HTTPS version (diff)
downloaddotfiles-2f5c3f189d83b6297a93dee83819092a63a33e88.tar.gz
dotfiles-2f5c3f189d83b6297a93dee83819092a63a33e88.zip
Rename "test" targets to "check"
Mostly to make way for an actual test suite beyond mere syntax checking
Diffstat (limited to 'check/pdksh')
-rwxr-xr-xcheck/pdksh6
1 files changed, 6 insertions, 0 deletions
diff --git a/check/pdksh b/check/pdksh
new file mode 100755
index 00000000..fd1d55b7
--- /dev/null
+++ b/check/pdksh
@@ -0,0 +1,6 @@
+#!/bin/sh
+for pdksh in pdksh/* pdksh/pdkshrc.d/* ; do
+ [ -f "$pdksh" ] || continue
+ ksh -n "$pdksh" || exit
+done
+printf 'All pdksh scripts parsed successfully.\n'