summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-09-13 01:48:42 +0200
committerMichael Adam <obnox@samba.org>2009-09-13 01:52:11 +0200
commit282ec117921b7cac9a6345270f7eaafbd8ea1ee3 (patch)
tree6bdf83b093d2d6cd039d8a1c24e0e0504b5538e4 /tests/scripts
parent5a96099cde733e1b31e59e26e17ab9468b5cf599 (diff)
downloadtinyproxy-282ec117921b7cac9a6345270f7eaafbd8ea1ee3.tar.gz
tinyproxy-282ec117921b7cac9a6345270f7eaafbd8ea1ee3.zip
tests: set stathost to 127.0.0.127 in the testsuite
Michael
Diffstat (limited to 'tests/scripts')
-rwxr-xr-xtests/scripts/run_tests.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh
index e000084..d81dc9c 100755
--- a/tests/scripts/run_tests.sh
+++ b/tests/scripts/run_tests.sh
@@ -35,6 +35,7 @@ TINYPROXY_CONF_DIR=$TESTENV_DIR/etc
TINYPROXY_CONF_FILE=$TINYPROXY_CONF_DIR/tinyproxy.conf
TINYPROXY_STDERR_LOG=$TINYPROXY_LOG_DIR/tinyproxy.stderr.log
TINYPROXY_BIN=$BASEDIR/src/tinyproxy
+TINYPROXY_STATHOST_IP="127.0.0.127"
WEBSERVER_IP=127.0.0.3
WEBSERVER_PORT=32123
@@ -75,6 +76,7 @@ Port $TINYPROXY_PORT
#Bind $TINYPROXY_IP
Listen $TINYPROXY_IP
Timeout 600
+StatHost "$TINYPROXY_STATHOST_IP"
DefaultErrorFile "$TINYPROXY_DATA_DIR/default.html"
StatFile "$TINYPROXY_DATA_DIR/stats.html"
Logfile "$TINYPROXY_LOG_DIR/tinyproxy.log"