aboutsummaryrefslogtreecommitdiffstats
path: root/test/config.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2012-03-30 17:51:54 +0000
committerGerald Combs <gerald@wireshark.org>2012-03-30 17:51:54 +0000
commit1bf7a61ac02c772c9399aff87a44843aba90366d (patch)
treec00103f0c05eb604dfb18ef09cbcc842ea705495 /test/config.sh
parent17ce01b48d3dff111bc6c1333855865ea9ccb004 (diff)
Add a decryption test suite along with an SSL decryption test. Move our
growing collection of capture files to a subdirectory. svn path=/trunk/; revision=41852
Diffstat (limited to 'test/config.sh')
-rwxr-xr-xtest/config.sh20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/config.sh b/test/config.sh
index 2fc5cfb839..b709604510 100755
--- a/test/config.sh
+++ b/test/config.sh
@@ -28,8 +28,10 @@
if [ -n "${OS#Windows}" ] ; then
WS_SYSTEM="Windows"
export CYGWIN="$CYGWIN error_start=c:\cygwin\bin\dumper.exe -d %1 %2"
+ DIR_SEP="\\"
else
WS_SYSTEM=`uname -s`
+ DIR_SEP="/"
fi
@@ -83,6 +85,14 @@ fi
# Tell Wireshark to quit after capuring packets.
export WIRESHARK_QUIT_AFTER_CAPTURE="True"
+CAPTURE_DIR="captures${DIR_SEP}"
+
+# Configuration paths
+TEST_HOME="$PWD/fakehome"
+if [ "$WS_SYSTEM" == "Windows" ] ; then
+ TEST_HOME="`cygpath -w $TEST_HOME`"
+fi
+
# Display our environment
##printf "\n ------- Info =-----------------\n"
@@ -92,3 +102,13 @@ export WIRESHARK_QUIT_AFTER_CAPTURE="True"
##ls -l $(which wireshark) $(which tshark) $(which dumpcap)
##printf " ----------------------------------\n\n"
+# Editor modelines
+#
+# Local Variables:
+# sh-basic-offset: 8
+# tab-width: 8
+# indent-tabs-mode: t
+# End:
+#
+# ex: set shiftwidth=8 tabstop=8 noexpandtab:
+# :indentSize=8:tabSize=8:noTabs=false: