tmux/regress/conf-syntax.sh

15 lines
244 B
Bash
Raw Normal View History

2019-05-28 12:21:02 +00:00
#!/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