commit c4c989b9c8d687e6f52d44fc411cf2ad14b2f8c1
Author: Kornel Benko <[email protected]>
Date:   Tue May 2 12:22:09 2017 +0200

    Added testcase for crash with using function word-findadv
---
 development/autotests/findadv-crash-in.txt |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/development/autotests/findadv-crash-in.txt 
b/development/autotests/findadv-crash-in.txt
new file mode 100644
index 0000000..bc3affe
--- /dev/null
+++ b/development/autotests/findadv-crash-in.txt
@@ -0,0 +1,10 @@
+# Test for searching with regular expressions
+# Crash in using function 'word-findadv'
+
+Lang C
+TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
+KK: abcd
+KK: \Axword-findadv a\[Return]
+TestEnd
+Lang C
+Assert ! pcregrep 'SIGSEGV signal caught' lyx-log.txt

Reply via email to