aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite-clopts.sh
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-11-21 07:06:57 +0000
committerGuy Harris <guy@alum.mit.edu>2012-11-21 07:06:57 +0000
commitd37123f4d55bf4ef919838e421866353f3b966d1 (patch)
tree3170497dc1900db6e502a133a38f3596081e8a9f /test/suite-clopts.sh
parent323fabab959df402d5f15739cd9c25935f81c3b0 (diff)
Fix the error message to test for when testing "-i invalid_interface".
svn path=/trunk/; revision=46103
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 492c3dff6c..9dcf9cb363 100755
--- 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
- grep -i 'There are no interfaces on which a capture can be done' ./testout.txt > /dev/null
+ grep -i 'Failed to match interface 'invalid_interface'' ./testout.txt > /dev/null
if [ $? -eq 0 ]; then
test_step_output_print ./testout.txt
test_step_ok