diff mbox series

testsuite: fix bad escaping of '[' & ']'

Message ID 20190218215739.62621-1-luc.vanoostenryck@gmail.com (mailing list archive)
State Mainlined, archived
Headers show
Series testsuite: fix bad escaping of '[' & ']' | expand

Commit Message

Luc Van Oostenryck Feb. 18, 2019, 9:57 p.m. UTC
Fix escaping of square brackets in some test patterns.

Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
---
 validation/c11-noreturn.c     | 2 +-
 validation/c11-thread-local.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/validation/c11-noreturn.c b/validation/c11-noreturn.c
index bc20de82f..d20a2249b 100644
--- a/validation/c11-noreturn.c
+++ b/validation/c11-noreturn.c
@@ -5,5 +5,5 @@  static _Noreturn void foo(void) { while (1) ; }
  * check-command: test-parsing -std=c11 $file
  *
  * check-output-ignore
- * check-output-contains: \[noreturn\]
+ * check-output-contains: \\[noreturn\\]
  */
diff --git a/validation/c11-thread-local.c b/validation/c11-thread-local.c
index 464c3e16a..db848de63 100644
--- a/validation/c11-thread-local.c
+++ b/validation/c11-thread-local.c
@@ -5,5 +5,5 @@  static _Thread_local int foo;
  * check-command: test-parsing -std=c11 $file
  *
  * check-output-ignore
- * check-output-contains: \[tls\]
+ * check-output-contains: \\[tls\\]
  */