diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-11-21 07:06:57 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-11-21 07:06:57 +0000 |
commit | d37123f4d55bf4ef919838e421866353f3b966d1 (patch) | |
tree | 3170497dc1900db6e502a133a38f3596081e8a9f /test/suite-clopts.sh | |
parent | 323fabab959df402d5f15739cd9c25935f81c3b0 (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-x | test/suite-clopts.sh | 2 |
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 |