3 # wget_test.sh - VCL-LDPRELOAD wget test.
5 # Run wget using LD_PRELOAD to fetch a page from
6 # nginx running in vpp1 net-namespace.
11 if [ -z "$WS_ROOT" ] ; then
12 echo "ERROR: WS_ROOT environment variable not set!" >&2
13 echo " Please set WS_ROOT to VPP workspace root directory." >&2
17 LDP_DIR="${WS_ROOT}/extras/vcl-ldpreload"
18 LDP_TEST_DIR="${LDP_TEST_DIR:-${LDP_DIR}/test}"
19 VCL_LDPRELOAD_LIB_DIR="${VCL_LDPRELOAD_LIB_DIR:-$WS_ROOT/build-root/install-vpp_debug-native/vpp/lib}"
21 TEST_APP="${TEST_APP:-wget}"
22 source $LDP_TEST_DIR/common/nginx_test.sh