start-testsuite.sh: do not override LD_LIBRARY_PATH

The Eclipse titan.core may not only be installed to hard-coded
'/usr/lib/titan' patch, but to any other location too. In the
later case, one would have to make sure that the custom path
is in $LD_LIBRARY_PATH. So we shall not override it.

Change-Id: I1ec28e8c3081d5de1bea90a7451791ac8cbbd27c
This commit is contained in:
Vadim Yanitskiy 2019-06-04 22:11:04 +07:00 committed by fixeria
parent dc8db92c86
commit b399281d05
1 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,8 @@ if [ $# -gt 2 ]; then
TEST=$3
fi
LD_LIBRARY_PATH="$SUITE_DIR:/usr/lib/titan:/usr/ttcn3/lib" ttcn3_start $SUITE $CFG $TEST
TITAN_LIBRARY_PATH="/usr/lib/titan:/usr/ttcn3/lib"
LD_LIBRARY_PATH="$LD_LIBRARY_PATH:$SUITE_DIR:$TITAN_LIBRARY_PATH" ttcn3_start $SUITE $CFG $TEST
expected="$SUITE_DIR/expected-results.xml"
if [ ! -f "$expected" ]; then