Adopt test to new error handling.
authortuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Jul 2011 16:06:52 +0000 (16:06 +0000)
committertuexen <tuexen@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Jul 2011 16:06:52 +0000 (16:06 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38145 f5534014-38df-0310-8fa8-9805f1628bb7

test/suite-clopts.sh

index dc8107a991669aa422b58ea2aeeda03f2bbf516c..015e0e995bd64bd7c6fb114d7e325c5543dd96a2 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 '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