Handle an error message that includes single quotes.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 21 Nov 2012 09:03:30 +0000 (09:03 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 21 Nov 2012 09:03:30 +0000 (09:03 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@46105 f5534014-38df-0310-8fa8-9805f1628bb7

test/suite-clopts.sh

index 72cf02e9cc6d796822ef2f93d3a69df91233b70d..5a534792b36a46ba964222f059c7f9eb0436d675 100755 (executable)
@@ -233,7 +233,7 @@ clopts_step_tshark_invalid_interfaces() {
        if [ ! $RETURNVALUE -eq $EXIT_COMMAND_LINE ]; then
                test_step_failed "exit status: $RETURNVALUE"
        else
-               grep -i 'Failed to match interface 'invalid_interface'' ./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