aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2018-01-03 22:24:41 -0500
committerKeith Burns <alagalah@gmail.com>2018-01-17 22:26:17 +0000
commit048b1d6ab787e46ad91574ac950329bccc7fe809 (patch)
treef2db18c1781bc351311dbe935dce51e7bd63b5ab /test
parentd3e83a9c82b4a57c24061828db6a309692f7f2d4 (diff)
LD_PRELOAD: stateless LDP
- Refactor LDP to be stateless. - Use upper bit of fd to identify tag as VCL session. - Clean up debug output. - Add VCOM config env vars for app name and sid bit. - Add VCL get/set attributes - Add VCL poll implementation. Change-Id: I4603ae88254c460a024fdb79fe91c6d1ef9bc7b9 Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/scripts/socket_test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/scripts/socket_test.sh b/test/scripts/socket_test.sh
index 862c949b6e8..609fc62ab2a 100755
--- a/test/scripts/socket_test.sh
+++ b/test/scripts/socket_test.sh
@@ -523,6 +523,15 @@ write_script_header() {
if [ -n "$VCL_DEBUG" ] ; then
echo "export VCL_DEBUG=$VCL_DEBUG" >> $1
fi
+ if [ -n "$VCOM_DEBUG" ] ; then
+ echo "export VCOM_DEBUG=$VCOM_DEBUG" >> $1
+ fi
+ if [ -n "$VCOM_APP_NAME" ] ; then
+ echo "export VCOM_APP_NAME=$VCOM_APP_NAME" >> $1
+ fi
+ if [ -n "$VCOM_SID_BIT" ] ; then
+ echo "export VCOM_SID_BIT=$VCOM_SID_BIT" >> $1
+ fi
if [ -n "$namespace_id" ] ; then
echo "export VCL_APP_NAMESPACE_ID=\"$namespace_id\"" >> $1
echo "export VCL_APP_NAMESPACE_SECRET=\"$namespace_secret\"" >> $1