Make test scripts callable from any path

This commit is contained in:
Reto Buerki
2013-01-17 16:54:58 +01:00
committed by Tobias Brunner
parent 0593b6c975
commit aafc0a1799
12 changed files with 43 additions and 29 deletions
-3
View File
@@ -26,9 +26,6 @@ die() {
exit 1
}
[ -f testing.conf ] || die "Configuration file 'testing.conf' not found"
. testing.conf
# execute command
# $1 - command to execute
# $2 - whether or not to log command exit status