aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-clopts.sh
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2007-11-08 16:59:30 +0000
committerGerald Combs <gerald@wireshark.org>2007-11-08 16:59:30 +0000
commitcd7cc1557ebabf9e9f938875b25134ce74b2b138 (patch)
treec8a4fe401ce457761490f0f15899ccad885651a6 /test/suite-clopts.sh
parent4105173f0e4d0da02e3a0b0a18558fb8628ce0ff (diff)
Move SKIP_CAPTURE from suite-capture.sh to config.sh so that we can use it
in suite-clopts as well. Allow it to be set externally. This should fix the "test" failure in the Solairs builder. svn path=/trunk/; revision=23399
Diffstat (limited to 'test/suite-clopts.sh')
-rwxr-xr-xtest/suite-clopts.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/suite-clopts.sh b/test/suite-clopts.sh
index d1b37dfc0a..6c751d0ff8 100755
--- a/test/suite-clopts.sh
+++ b/test/suite-clopts.sh
@@ -95,7 +95,7 @@ clopts_suite_valid_chars() {
clopts_suite_interface_chars() {
for index in D L
do
- if [ "$WS_SYSTEM" = "Windows" ] ; then
+ if [ "$SKIP_CAPTURE" -eq 0 ] ; then
test_step_add "Valid TShark parameter -$index, exit status must be $EXIT_OK" "test_single_char_options $TSHARK $index $EXIT_OK"
else
test_step_add "Invalid permissions for TShark parameter -$index, exit status must be $EXIT_ERROR" "test_single_char_options $TSHARK $index $EXIT_ERROR"