tests: simplify shell code, skip YAML test if Ruby is too old

This commit is contained in:
Felix Frank
2017-02-08 11:38:42 +01:00
committed by James Shubin
parent 5ae5d364bb
commit 806d4660cf
8 changed files with 49 additions and 36 deletions

7
test/util.sh Normal file
View File

@@ -0,0 +1,7 @@
# common settings and functions for test scripts
fail_test()
{
echo "FAIL: $@"
exit 1
}