79dcbc74cd
It is packaging responsibility to put libs in the right place. Use of lib64 resulted in huge amount of files with hardcoded lib64. This patch simplifies things... Change-Id: Iab0dea0583e480907732c5d2379eb951a00fa9e6 Signed-off-by: Damjan Marion <damarion@cisco.com>
23 lines
621 B
Bash
Executable File
23 lines
621 B
Bash
Executable File
#! /bin/bash
|
|
#
|
|
# wget_test.sh - VCL-LDPRELOAD wget test.
|
|
#
|
|
# Run wget using LD_PRELOAD to fetch a page from
|
|
# nginx running in vpp1 net-namespace.
|
|
#
|
|
#
|
|
|
|
# Verify Environment.
|
|
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
|
|
exit 1
|
|
fi
|
|
|
|
LDP_DIR="${WS_ROOT}/extras/vcl-ldpreload"
|
|
LDP_TEST_DIR="${LDP_TEST_DIR:-${LDP_DIR}/test}"
|
|
VCL_LDPRELOAD_LIB_DIR="${VCL_LDPRELOAD_LIB_DIR:-$WS_ROOT/build-root/install-vpp_debug-native/vpp/lib}"
|
|
|
|
TEST_APP="${TEST_APP:-wget}"
|
|
source $LDP_TEST_DIR/common/nginx_test.sh
|