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

Ben Pfaff blp at nicira.com
Tue May 1 21:28:36 UTC 2012


[^"] 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




More information about the dev mailing list