diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-06-01 03:37:51 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-06-01 03:37:51 +0000 |
commit | 9f5ff23bc8d8829510e7ae20784b826c648dffeb (patch) | |
tree | 6802770b81fcadb2a3f603bc2a0eb5f43ee9a770 /test | |
parent | 51724ee36953dd7e52fb3b1ff5e263e4f6b7d314 (diff) |
capture() can, in some cases, return FALSE when the capture succeeds;
back out the change to check its return value until we fix that.
Also back out the test suite changes to look for an error exit for
invalid capture filters and interfaces.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33029 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'test')
-rwxr-xr-x | test/suite-clopts.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/suite-clopts.sh b/test/suite-clopts.sh index b0e496c56b..1a74ade55a 100755 --- a/test/suite-clopts.sh +++ b/test/suite-clopts.sh @@ -113,7 +113,7 @@ clopts_step_invalid_capfilter() { $TSHARK -f 'jkghg' -w './testout.pcap' > ./testout.txt 2>&1 RETURNVALUE=$? - if [ ! $RETURNVALUE -eq $EXIT_ERROR ]; then + if [ ! $RETURNVALUE -eq $EXIT_OK ]; then test_step_failed "exit status: $RETURNVALUE" else grep -i 'Invalid capture filter: "jkghg"' ./testout.txt > /dev/null @@ -131,7 +131,7 @@ clopts_step_invalid_capfilter() { clopts_step_invalid_interface() { $TSHARK -i invalid_interface -w './testout.pcap' > ./testout.txt 2>&1 RETURNVALUE=$? - if [ ! $RETURNVALUE -eq $EXIT_ERROR ]; then + if [ ! $RETURNVALUE -eq $EXIT_OK ]; then test_step_failed "exit status: $RETURNVALUE" else grep -i 'The capture session could not be initiated' ./testout.txt > /dev/null |