Fix the error message to test for when testing "-i invalid_interface".

svn path=/trunk/; revision=46103
This commit is contained in:
Guy Harris 2012-11-21 07:06:57 +00:00
parent 323fabab95
commit d37123f4d5
1 changed files with 1 additions and 1 deletions

View File

@ -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