Fix DNS use for testcase 3
[sdnvpn.git] / odl-pipeline / lib / test_environment.sh
index 56601f4..ac209c6 100755 (executable)
@@ -1,6 +1,14 @@
 #!/bin/bash
+#
+# Copyright (c) 2017 All rights reserved
+# This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
 DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
 set -e
 export PYTHONPATH=$PYTHONPATH:$DIR
 mkdir -p $DIR/tmp
-python $DIR/test_environment/test_environment.py $@
+cd $DIR
+python ./test_environment/test_environment.py $@