diff options
| author | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-06 23:48:21 +0100 |
|---|---|---|
| committer | Luc Van Oostenryck <luc.vanoostenryck@gmail.com> | 2018-03-11 03:08:22 +0100 |
| commit | 6e42c573ee706720a91a19ab6461aff63fc6999b (patch) | |
| tree | 8d2a3ba0a2a2320f852f9044843f7fc59b6631c5 /validation/linear/deref-ptr-ptr.c | |
| parent | 7f9145f334c94fa29f4911b5a9d6d83538181f4f (diff) | |
| download | sparse-dev-6e42c573ee706720a91a19ab6461aff63fc6999b.tar.gz | |
testsuite: fix problem with double-escaping in patterns
Since the patterns in the testcases are evaluated in the shell
script, the backslash used to escape characters special to the
pattern need itself to be escaped. Theer is a few cases where
it wasn't done so, partly because 'format -l' gave a single
escape in its template.
Fix all occurences neededing this double-escape as well as the
'format -l' template.
Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Diffstat (limited to 'validation/linear/deref-ptr-ptr.c')
| -rw-r--r-- | validation/linear/deref-ptr-ptr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/validation/linear/deref-ptr-ptr.c b/validation/linear/deref-ptr-ptr.c index 963acd36..531d3637 100644 --- a/validation/linear/deref-ptr-ptr.c +++ b/validation/linear/deref-ptr-ptr.c @@ -8,9 +8,9 @@ char *foo(char **pfmt) * check-command: test-linearize -m64 -Wno-decl $file * * check-output-excludes: load[^.] - * check-output-contains: load\. + * check-output-contains: load\\. * check-output-excludes: store[^.] - * check-output-contains: store\. + * check-output-contains: store\\. * * check-output-start foo: |
