Skip to content

Commit

Permalink
Add regress for conf files.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed May 28, 2019
1 parent eba6cf6 commit f012db9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions regress/conf-syntax.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

PATH=/bin:/usr/bin
TERM=screen

[ -z "$TEST_TMUX" ] && TEST_TMUX=$(readlink -f ../tmux)
TMUX="$TEST_TMUX -Ltest"
$TMUX kill-server 2>/dev/null

for i in conf/*.conf; do
$TMUX -f/dev/null start \; source -n $i || exit 1
done

exit 0

0 comments on commit f012db9

Please sign in to comment.