[ovs-dev] [python vlog 1/6] tests: Fix Emacs syntax highlighting in vlog.at.

Ethan Jackson ethan at nicira.com
Fri May 4 21:49:28 UTC 2012


Looks good, thanks.

Ethan

On Tue, May 1, 2012 at 2:28 PM, Ben Pfaff <blp at nicira.com> wrote:
> [^"] confuses the Emacs syntax highlighter for Autotest mode.  It thinks
> that it terminates a quoted string and therefore everything following the
> next " in the file is highlighted as if it was part of a quoted string.
>
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
>  tests/vlog.at |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/tests/vlog.at b/tests/vlog.at
> index bb3b3c1..597c27a 100644
> --- a/tests/vlog.at
> +++ b/tests/vlog.at
> @@ -11,7 +11,7 @@ AT_CAPTURE_FILE([stderr_log])
>  AT_CHECK([diff log_file stderr_log])
>
>  AT_CHECK([sed -e 's/.* .* ..:..:..|//' \
> --e 's/File "[[^"]]*", line [[0-9]][[0-9]]*,/File <name>, line <number>,/' \
> +-e 's/File ".*", line [[0-9]][[0-9]]*,/File <name>, line <number>,/' \
>  stderr_log], [0], [dnl
>  0|module_0|EMER|emergency
>  1|module_0|ERR|error
> --
> 1.7.2.5
>
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev



More information about the dev mailing list