aboutsummaryrefslogtreecommitdiffstats
path: root/testing/scripts/load-testconfig
diff options
context:
space:
mode:
Diffstat (limited to 'testing/scripts/load-testconfig')
-rwxr-xr-xtesting/scripts/load-testconfig8
1 files changed, 1 insertions, 7 deletions
diff --git a/testing/scripts/load-testconfig b/testing/scripts/load-testconfig
index d73b31275..1abe5985c 100755
--- a/testing/scripts/load-testconfig
+++ b/testing/scripts/load-testconfig
@@ -14,13 +14,7 @@
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
-DIR=`dirname $0`
-
-source $DIR/function.sh
-
-[ -f $DIR/../testing.conf ] || die "Configuration file 'testing.conf' not found"
-
-source $DIR/../testing.conf
+. $PWD/scripts/function.sh
##########################################################################
# load-testconfig requires a testname as an argument