kook/test.sh

19 lines
207 B
Bash
Raw Normal View History

2013-12-28 10:55:48 +00:00
#!/bin/sh
PATH=./bin:$PATH
set -e
fail() {
set +x
echo "ERROR: $*"
exit 1
}
set -x
kook project add kook1 . || fail "test1"
kook project add kook2 || fail "test2"
kook project list || fail "test3"