Clobber our personal configuration directory on Windows.
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 30 Mar 2012 21:04:09 +0000 (21:04 +0000)
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>
Fri, 30 Mar 2012 21:04:09 +0000 (21:04 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@41860 f5534014-38df-0310-8fa8-9805f1628bb7

test/config.sh
test/suite-decryption.sh

index 376df5d1b8a5861cac4b523bbfaf214841bde01e..0b1f1328b9200751e54461fcb107a3a7076491fb 100755 (executable)
@@ -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
index ed03ab095fade56454e3f4940cc7ce12c8aac302..dd9b1efa6e235508e9c1f20023bd768d8bb9e45a 100755 (executable)
@@ -40,7 +40,7 @@ fi
 
 #TS_ARGS="-Tfields -e frame.number -e frame.time_epoch -e frame.time_delta"
 TS_DC_ARGS=""
-TS_DC_ENV="HOME=${TEST_HOME}"
+TS_DC_ENV="${HOME_ENV}=${TEST_HOME}"
 
 DIFF_OUT=./diff-output.txt