summaryrefslogtreecommitdiff
path: root/tests/scripts
diff options
context:
space:
mode:
authorJordi Mallach <jordi@debian.org>2010-04-21 21:01:59 +0530
committerMukund Sivaraman <muks@banu.com>2010-04-21 21:02:57 +0530
commit7da3e4854cce5015b52ac02f40e06d72e7bed80b (patch)
treeddc302b0301e23b9b3b97184ac5806ec666ebd04 /tests/scripts
parent7edb6e047c4314ac7031d817fb06107e2c39c7c7 (diff)
downloadtinyproxy-7da3e4854cce5015b52ac02f40e06d72e7bed80b.tar.gz
tinyproxy-7da3e4854cce5015b52ac02f40e06d72e7bed80b.zip
[BB#83] Use output of id instead of $USER
Diffstat (limited to 'tests/scripts')
-rwxr-xr-xtests/scripts/run_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/scripts/run_tests.sh b/tests/scripts/run_tests.sh
index 0f4134c..dd95400 100755
--- a/tests/scripts/run_tests.sh
+++ b/tests/scripts/run_tests.sh
@@ -26,7 +26,7 @@ LOG_DIR=$TESTENV_DIR/var/log
TINYPROXY_IP=127.0.0.2
TINYPROXY_PORT=12321
-TINYPROXY_USER=$USER
+TINYPROXY_USER=$(id -un)
TINYPROXY_PID_DIR=$TESTENV_DIR/var/run/tinyproxy
TINYPROXY_PID_FILE=$TINYPROXY_PID_DIR/tinyproxy.pid
TINYPROXY_LOG_DIR=$LOG_DIR/tinyproxy