From e695cb4dbdb6f9424ac5a567799e67f791fad328 Mon Sep 17 00:00:00 2001 From: Dave Wallace Date: Thu, 2 Nov 2017 22:04:42 -0400 Subject: VCL_LDPRELOAD: mixed libc/vcl epoll fd's Change-Id: Ibc82781ddef5ea0517220b9054db3d53ec348c6c Signed-off-by: Dave Wallace --- test/scripts/socket_test.sh | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'test/scripts') diff --git a/test/scripts/socket_test.sh b/test/scripts/socket_test.sh index 64a13015ae0..03164a96250 100755 --- a/test/scripts/socket_test.sh +++ b/test/scripts/socket_test.sh @@ -248,12 +248,6 @@ done VCL_LDPRELOAD_LIB_DIR="${VCL_LDPRELOAD_LIB_DIR:-$lib64_dir}" -if [ -n "$multi_host" ] ; then - VCL_SESSION_SCOPE_GLOBAL=true -else - VCL_SESSION_SCOPE_LOCAL=true -fi - if [ -z "$WS_ROOT" ] ; then echo "ERROR: WS_ROOT environment variable not set!" >&2 echo " Please set WS_ROOT to VPP workspace root directory." >&2 @@ -520,10 +514,10 @@ write_script_header() { echo "export VCL_APP_NAMESPACE_ID=\"$namespace_id\"" >> $1 echo "export VCL_APP_NAMESPACE_SECRET=\"$namespace_secret\"" >> $1 fi - if [ -n "$VCL_APP_SCOPE_LOCAL" ] ; then + if [ -n "$VCL_APP_SCOPE_LOCAL" ] || [ -z "$multi_host" ] ; then echo "export VCL_APP_SCOPE_LOCAL=true" >> $1 fi - if [ -n "$VCL_APP_SCOPE_GLOBAL" ] ; then + if [ -n "$VCL_APP_SCOPE_GLOBAL" ] || [ -n "$multi_host" ] ; then echo "export VCL_APP_SCOPE_GLOBAL=true" >> $1 fi if [ -n "$VCL_APP_PROXY_TRANSPORT_TCP" ] ; then -- cgit 1.2.3-korg