aboutsummaryrefslogtreecommitdiffstats
path: root/testing/testing.conf
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2013-09-26 17:00:21 +0200
committerTobias Brunner <tobias@strongswan.org>2013-10-11 15:45:42 +0200
commit42525d1142d3755e3f3123579f5fac5c15f8788e (patch)
treed62f0413400df72c36b8206d490d4b3349cfc8e2 /testing/testing.conf
parentb638c131de07dc78de0877de41ad02ce32e6624c (diff)
downloadstrongswan-42525d1142d3755e3f3123579f5fac5c15f8788e.tar.bz2
strongswan-42525d1142d3755e3f3123579f5fac5c15f8788e.tar.xz
testing: Load testing.conf.local from the same directory as testing.conf
Diffstat (limited to 'testing/testing.conf')
-rw-r--r--testing/testing.conf5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/testing.conf b/testing/testing.conf
index 4b30ee04b..1e691f8cd 100644
--- a/testing/testing.conf
+++ b/testing/testing.conf
@@ -14,9 +14,10 @@
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
-if [ -f testing.conf.local ]
+TESTINGDIR=$(dirname `readlink -f ${BASH_SOURCE[0]}`)
+if [ -f $TESTINGDIR/testing.conf.local ]
then
- . testing.conf.local
+ . $TESTINGDIR/testing.conf.local
fi
# Root directory of testing