git.samba.org
/
obnox
/
wireshark
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adopt test to new error handling.
[obnox/wireshark/wip.git]
/
test
/
suite-clopts.sh
diff --git
a/test/suite-clopts.sh
b/test/suite-clopts.sh
index dc8107a991669aa422b58ea2aeeda03f2bbf516c..015e0e995bd64bd7c6fb114d7e325c5543dd96a2 100755
(executable)
--- a/
test/suite-clopts.sh
+++ b/
test/suite-clopts.sh
@@
-134,7
+134,7
@@
clopts_step_invalid_interface() {
if [ ! $RETURNVALUE -eq $EXIT_COMMAND_LINE ]; then
test_step_failed "exit status: $RETURNVALUE"
else
if [ ! $RETURNVALUE -eq $EXIT_COMMAND_LINE ]; then
test_step_failed "exit status: $RETURNVALUE"
else
- grep -i '
The capture session could not be initiated
' ./testout.txt > /dev/null
+ grep -i '
there is no interface with that name
' ./testout.txt > /dev/null
if [ $? -eq 0 ]; then
test_step_output_print ./testout.txt
test_step_ok
if [ $? -eq 0 ]; then
test_step_output_print ./testout.txt
test_step_ok