Make test scripts callable from any path

This commit is contained in:
Reto Buerki authored and Tobias Brunner committed 2013-01-17 16:54:58 +01:00
1 parent 0593b6c975
commit aafc0a1799
12 files changed
+43 -29

No files matched your search

+3 -1
View File
@@ -14,7 +14,9 @@
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
. $PWD/scripts/function.sh
DIR=$(dirname `readlink -f $0`)
. $DIR/../testing.conf
. $DIR/function.sh
##########################################################################
# load-testconfig requires a testname as an argument