Fix the error message to test for when testing "-i invalid_interface".
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 21 Nov 2012 07:06:57 +0000 (07:06 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 21 Nov 2012 07:06:57 +0000 (07:06 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@46103 f5534014-38df-0310-8fa8-9805f1628bb7

test/suite-clopts.sh

index 492c3dff6c7fa4feb9d973e3adad04e481b1c608..9dcf9cb363f8229d4be73dcb39a95c51e9f08892 100755 (executable)
@@ -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