aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/mem2reg
diff options
authorLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-03-06 23:48:21 +0100
committerLuc Van Oostenryck <luc.vanoostenryck@gmail.com>2018-03-11 03:08:22 +0100
commit6e42c573ee706720a91a19ab6461aff63fc6999b (patch)
tree8d2a3ba0a2a2320f852f9044843f7fc59b6631c5 /validation/mem2reg
parent7f9145f334c94fa29f4911b5a9d6d83538181f4f (diff)
downloadsparse-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/mem2reg')
-rw-r--r--validation/mem2reg/killed-insn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/validation/mem2reg/killed-insn.c b/validation/mem2reg/killed-insn.c
index 641525d3..adbef980 100644
--- a/validation/mem2reg/killed-insn.c
+++ b/validation/mem2reg/killed-insn.c
@@ -11,5 +11,5 @@ static void foo(void)
* check-command: test-linearize -fdump-ir=mem2reg $file
*
* check-output-ignore
- * check-output-excludes: store\.
+ * check-output-excludes: store\\.
*/