diff options
author | Reto Buerki <reet@codelabs.ch> | 2012-12-18 16:44:21 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2013-01-17 16:54:58 +0100 |
commit | aafc0a179901c8a224e5e473cbab5f13ae7ad134 (patch) | |
tree | e3cb2296f0bcdec54eb73778111d49cf35f0dfc7 /testing/stop-testing | |
parent | 0593b6c975684d61a7432c6593ef5a5a6bc7b21d (diff) | |
download | strongswan-aafc0a179901c8a224e5e473cbab5f13ae7ad134.tar.bz2 strongswan-aafc0a179901c8a224e5e473cbab5f13ae7ad134.tar.xz |
Make test scripts callable from any path
Diffstat (limited to 'testing/stop-testing')
-rwxr-xr-x | testing/stop-testing | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/stop-testing b/testing/stop-testing index 5695d620a..013637aca 100755 --- a/testing/stop-testing +++ b/testing/stop-testing @@ -1,6 +1,8 @@ #!/bin/bash -. $PWD/scripts/function.sh +DIR=$(dirname `readlink -f $0`) +. $DIR/testing.conf +. $DIR/scripts/function.sh echo "Stopping test environment" |