diff options
author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-02-03 01:38:44 +0100 |
---|---|---|
committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2019-02-18 23:07:59 +0100 |
commit | 441c2847ad4b73b2b45a4e4e596a3f98908e9772 (patch) | |
tree | d129bde4005e60d4c170ee079bb3bed22c9565a9 | |
parent | ec4bac31cf9f847feed879a191bc1f8fbd9577ee (diff) | |
download | sparse-441c2847ad4b73b2b45a4e4e596a3f98908e9772.tar.gz |
testsuite: fix bad escaping of '[' & ']'
Fix escaping of square brackets in some test patterns.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
-rw-r--r-- | validation/c11-noreturn.c | 2 | ||||
-rw-r--r-- | validation/c11-thread-local.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/validation/c11-noreturn.c b/validation/c11-noreturn.c index bc20de82..d20a2249 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 464c3e16..db848de6 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\\] */ |