summaryrefslogtreecommitdiff
path: root/test/config.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-03-30 21:04:09 +0000
committerGerald Combs <gerald@wireshark.org>2012-03-30 21:04:09 +0000
commitf21274b7c202dd2b760b5bdafdfcfd3bc939d5d6 (patch)
treec09fedb27dc81a86c88c0bafcbd7acabc31ef132 /test/config.sh
parent22be69a1902aab7922833738e472179cefda6ac0 (diff)
downloadwireshark-f21274b7c202dd2b760b5bdafdfcfd3bc939d5d6.tar.gz
Clobber our personal configuration directory on Windows.
svn path=/trunk/; revision=41860
Diffstat (limited to 'test/config.sh')
-rwxr-xr-xtest/config.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/config.sh b/test/config.sh
index 376df5d1b8..0b1f1328b9 100755
--- a/test/config.sh
+++ b/test/config.sh
@@ -87,10 +87,12 @@ CAPTURE_DIR="captures/"
# Configuration paths
TEST_HOME="$PWD/fakehome"
+HOME_ENV="HOME"
if [ "$WS_SYSTEM" == "Windows" ] ; then
- TEST_HOME="`cygpath -w $TEST_HOME`"
- CAPTURE_DIR="`cygpath -w $CAPTURE_DIR`"
+ TEST_HOME="`cygpath -w $TEST_HOME`"
+ HOME_ENV="APPDATA"
+ CAPTURE_DIR="`cygpath -w $CAPTURE_DIR`"
fi
# Display our environment