diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-11-21 09:03:30 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-11-21 09:03:30 +0000 |
commit | 17d000703052cbf8336f761f6d48a216feb9613c (patch) | |
tree | 23d8c2181207e16897f9f8f73a6880b0f9fea6f4 /test/suite-clopts.sh | |
parent | 0e59a15714d9b995763740d69574bf2b376ab17e (diff) |
Handle an error message that includes single quotes.
svn path=/trunk/; revision=46105
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 72cf02e9cc..5a534792b3 100755 --- a/test/suite-clopts.sh +++ b/test/suite-clopts.sh @@ -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 |