commit 0ed7f301ea8a0bb04aea9c4de0bb4c7cb0ef851b
Author: Kornel Benko <[email protected]>
Date: Mon Mar 9 09:41:34 2015 +0100
Remove the need of specific language packs for keytests
The command pcregrep failed trying to set locales to
not installed language pack.
diff --git a/development/autotests/findadv-03-in.txt
b/development/autotests/findadv-03-in.txt
index e01a616..640f327 100644
--- a/development/autotests/findadv-03-in.txt
+++ b/development/autotests/findadv-03-in.txt
@@ -7,7 +7,9 @@ KK: \Cs
KK: \CF
KK: \Cm
KK: x^2\[Return]
+Lang C
TestEnd pcregrep -M "Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0
par: 0 pos: 0" lyx-log.txt
+Lang it_IT.utf8
TestBegin test2.lyx -dbg find > lyx-log2.txt 2>&1
KK: \Cm
KK: x^2 -x^2\C\[Home]
@@ -16,4 +18,5 @@ KK: \CF
KK: \Cm
KK: x^2\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M "Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 2" lyx-log2.txt
diff --git a/development/autotests/findadv-04-in.txt
b/development/autotests/findadv-04-in.txt
index 7fca982..0aa2b42 100644
--- a/development/autotests/findadv-04-in.txt
+++ b/development/autotests/findadv-04-in.txt
@@ -14,4 +14,5 @@ KK: x^2n\[Return]\[Return]
KK: \Cs
KK: \Ax
KK: buffer-export latex\[Return]
+Lang C
TestEnd grep '^\$x\^{2n}\$$' test.tex
diff --git a/development/autotests/findadv-05-in.txt
b/development/autotests/findadv-05-in.txt
index 95f3730..2850f09 100644
--- a/development/autotests/findadv-05-in.txt
+++ b/development/autotests/findadv-05-in.txt
@@ -10,8 +10,10 @@ KK: \Az\Ag\Ae
KK: \Ce
KK: foo\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 4\n with len: 3'
lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
@@ -19,4 +21,5 @@ KK: \Az\Ag\Ae
KK: \Ce
KK: foo\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3'
lyx-log.txt
diff --git a/development/autotests/findadv-06-in.txt
b/development/autotests/findadv-06-in.txt
index df235ba..ab1d46e 100644
--- a/development/autotests/findadv-06-in.txt
+++ b/development/autotests/findadv-06-in.txt
@@ -1,26 +1,30 @@
# Basic test for searching with par-style awareness
-Lang it_IT.utf8
+Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: foo\[Return]
KK: \Ap2
KK: foo\[Return]
KK: \Aps
KK: foo\C\[Home]
-KK: \Cs
-KK: \CF
+KK: \Axbuffer-write\[Return]
+KK: \Axdialog-show findreplaceadv\[Return]
# Uncheck ignore format
-KK: \Az\Ag\Ae
+KK: \At\Ai\Ah
+KK: \Aj
KK: \Ap2
KK: foo\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3'
lyx-log.txt
#
+Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
KK: \C\[Home]
-KK: \CF
+KK: \Axdialog-show findreplaceadv\[Return]
# Uncheck ignore format
-KK: \Az\Ag\Ae
+KK: \At\Ai\Ah
KK: foo\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 2 pos: 0\n with len: 3'
lyx-log2.txt
diff --git a/development/autotests/findadv-07-in.txt
b/development/autotests/findadv-07-in.txt
index 3e0c58f..d0b7333 100644
--- a/development/autotests/findadv-07-in.txt
+++ b/development/autotests/findadv-07-in.txt
@@ -1,27 +1,31 @@
# Basic test for searching with par-style awareness
-Lang it_IT.utf8
+Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: foo bar\[Return]
+#select itemized
KK: \Apb
KK: foo bar\[Return]
KK: \Aps
KK: foo bar\C\[Home]
-KK: \Cs
-KK: \CF
+KK: \Axbuffer-write\[Return]
+KK: \Axdialog-show findreplaceadv\[Return]
# Uncheck ignore format
-KK: \Az\Ag\Ae
+KK: \At\Ai\Ah
KK: \Apb
KK: foo\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3'
lyx-log.txt
#
+Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
KK: \C\[Home]
KK: \CF
# Uncheck ignore format
-KK: \Az\Ag\Ae
+KK: \At\Ai\Ah
KK: \Apb
-KK: bar\[Return]\[Return]
+KK: bar\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 4\n with len: 3'
lyx-log2.txt
diff --git a/development/autotests/findadv-08-in.txt
b/development/autotests/findadv-08-in.txt
index 5c2e711..a30a388 100644
--- a/development/autotests/findadv-08-in.txt
+++ b/development/autotests/findadv-08-in.txt
@@ -1,27 +1,32 @@
# Basic test for searching with regular expressions
-Lang it_IT.utf8
+Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: Nel mezzo del cammin di nostra vita\[Return]
KK: mi ritrovai per una selva oscura\C\[Home]
-KK: \Cs
-KK: \CF
+KK: \Axbuffer-write\[Return]
+KK: \Axdialog-show findreplaceadv\[Return]
KK: o\Axregexp-mode\[Return].* a\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 8'
lyx-log.txt
+Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log2.txt 2>&1
-KK: \C\[Home]\CF
+KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
KK: o\Axregexp-mode\[Return][[:word:]]* a
-KK: \Al\Ar
+KK: \Ac\Aj
KD: 500
KK: \[Return]
KD: 100
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 26\n with len:
6' lyx-log2.txt
+Lang sk_SK.utf8
TestBegin test.lyx -dbg find > lyx-log3.txt 2>&1
-KK: \C\[Home]\CF
-KK: \Axregexp-mode\[Return].* \Al\Ar\[Return]\[Return]\[Return]
+KK: \C\[Home]\Axdialog-show findreplaceadv\[Return]
+KK: \Axregexp-mode\[Return].* \Ac\Aj\[Return]\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 10\n with len:
3' lyx-log3.txt
diff --git a/development/autotests/findadv-09-in.txt
b/development/autotests/findadv-09-in.txt
index e9fe0be..45e33c6 100644
--- a/development/autotests/findadv-09-in.txt
+++ b/development/autotests/findadv-09-in.txt
@@ -13,8 +13,10 @@ KK: \Az\Ag\Ae
KK: \Apb
KK: \Axregexp-mode\[Return][a-z]* \[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 3'
lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
@@ -22,4 +24,5 @@ KK: \Az\Ag\Ae
KK: \Apb
KK: \Axregexp-mode\[Return][a-z]* \[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 0\n with len: 3'
lyx-log.txt
diff --git a/development/autotests/findadv-10-in.txt
b/development/autotests/findadv-10-in.txt
index e94e764..7625248 100644
--- a/development/autotests/findadv-10-in.txt
+++ b/development/autotests/findadv-10-in.txt
@@ -11,12 +11,15 @@ KK: \CF
KK: \Az\Ag\Ae
KK: LyX\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 3'
lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: LaTeX\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 1 pos: 10\n with len:
5' lyx-log.txt
diff --git a/development/autotests/findadv-11-in.txt
b/development/autotests/findadv-11-in.txt
index 5d5aa49..389e667 100644
--- a/development/autotests/findadv-11-in.txt
+++ b/development/autotests/findadv-11-in.txt
@@ -9,8 +9,10 @@ KK: \CF
KK: \Cm
KK: v\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \C\[Home]
KK: \CF
@@ -19,4 +21,5 @@ KK: \Az\Ag\Ae
KK: \Cm
KK: v\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 0\n.*idx: 1 par: 0 pos: 0\n with len: 1' lyx-log.txt
diff --git a/development/autotests/findadv-12-in.txt
b/development/autotests/findadv-12-in.txt
index 44dcd00..7e26e0b 100644
--- a/development/autotests/findadv-12-in.txt
+++ b/development/autotests/findadv-12-in.txt
@@ -9,4 +9,5 @@ KK: \CF
KK: a\[Tab]
KK: \Cm\\bar a\[Return]\[Return]
TestEnd
+Lang C
Assert ! pcregrep -M 'against.*bar' lyx-log.txt
diff --git a/development/autotests/findadv-13-in.txt
b/development/autotests/findadv-13-in.txt
index 701d23c..84d5515 100644
--- a/development/autotests/findadv-13-in.txt
+++ b/development/autotests/findadv-13-in.txt
@@ -12,4 +12,5 @@ KK: \Axfootnote-insert\[Return]
KK: \C\[Home]\[Right]
KK: foo\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1'
lyx-log.txt
diff --git a/development/autotests/findadv-14-in.txt
b/development/autotests/findadv-14-in.txt
index a5ae4c4..ec6d5ed 100644
--- a/development/autotests/findadv-14-in.txt
+++ b/development/autotests/findadv-14-in.txt
@@ -11,8 +11,10 @@ KK: \Az\Ag\Ae
KK: \Axmath-display\[Return]
KK: x^2\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 0\n with len: 1' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
@@ -20,18 +22,23 @@ KK: \Az\Ag\Ae
KK: \Axmath-display\[Return]
KK: x^2\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 2\n with len: 1' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
KK: \Axmath-display\[Return]
KK: x^2\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 0\n with len: 1' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
KK: \Axmath-display\[Return]
KK: x^2\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 2\n with len: 1' lyx-log.txt
diff --git a/development/autotests/findadv-15-in.txt
b/development/autotests/findadv-15-in.txt
index c615e60..de05dd2 100644
--- a/development/autotests/findadv-15-in.txt
+++ b/development/autotests/findadv-15-in.txt
@@ -11,8 +11,10 @@ KK: \Az\Ag\Ae
KK: \CM\Axmath-number-toggle\[Return]
KK: x^2\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 0\n with len: 1' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
@@ -20,18 +22,23 @@ KK: \Az\Ag\Ae
KK: \CM\Axmath-number-toggle\[Return]
KK: x^2\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 2\n with len: 1' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
KK: \CM\Axmath-number-toggle\[Return]
KK: x^2\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 0\n with len: 1' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
KK: \CM\Axmath-number-toggle\[Return]
KK: x^2\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 2\n with len: 1' lyx-log.txt
diff --git a/development/autotests/findadv-16-in.txt
b/development/autotests/findadv-16-in.txt
index bcf6de5..d66aba8 100644
--- a/development/autotests/findadv-16-in.txt
+++ b/development/autotests/findadv-16-in.txt
@@ -12,8 +12,10 @@ KK: \Az\Ag\Ae
KK: \CM\Axmath-mutate gather\[Return]
KK: x^2\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 0\n with len: 1' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
@@ -21,4 +23,5 @@ KK: \Az\Ag\Ae
KK: \CM\Axmath-mutate gather\[Return]
KK: x^2\[Return]\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 2\n with len: 1' lyx-log.txt
diff --git a/development/autotests/findadv-17-in.txt
b/development/autotests/findadv-17-in.txt
index 657cf6c..415a71b 100644
--- a/development/autotests/findadv-17-in.txt
+++ b/development/autotests/findadv-17-in.txt
@@ -7,12 +7,15 @@ KK: \Cs
KK: \CF
KK: \Cm\\beta\\alpha \[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 1\n with len: 2' lyx-log.txt
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: \Cm\\beta\\alpha \[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n.*idx: 0 par:
0 pos: 1\n with len: 2' lyx-log.txt
diff --git a/development/autotests/findadv-18-in.txt
b/development/autotests/findadv-18-in.txt
index 31d935b..7d6ae89 100644
--- a/development/autotests/findadv-18-in.txt
+++ b/development/autotests/findadv-18-in.txt
@@ -7,4 +7,5 @@ KK: \Cs
KK: \CF
KK: \Axregexp-mode\[Return]\\s\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1'
lyx-log.txt
diff --git a/development/autotests/findadv-19-in.txt
b/development/autotests/findadv-19-in.txt
index f43dde9..287e5ba 100644
--- a/development/autotests/findadv-19-in.txt
+++ b/development/autotests/findadv-19-in.txt
@@ -7,4 +7,5 @@ KK: \Cs
KK: \CF
KK: \Axregexp-mode\[Return]([a-z]+)\\s\\1\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len:
11' lyx-log.txt
diff --git a/development/autotests/findadv-20-in.txt
b/development/autotests/findadv-20-in.txt
index 05b62b4..8f0e00a 100644
--- a/development/autotests/findadv-20-in.txt
+++ b/development/autotests/findadv-20-in.txt
@@ -12,8 +12,10 @@ KK: \Cs
KK: \Ax
KK: buffer-export latex\[Return]
TestEnd
+Lang C
Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ a' test.tex
+Lang it_IT.utf8
TestBegin test2.lyx -dbg find > lyx-log.txt 2>&1
KK: \Cma \Cma \Cma \C\[Home]
KK: \CF
@@ -23,4 +25,5 @@ KK: \Cs
KK: \Ax
KK: buffer-export latex\[Return]
TestEnd
+Lang C
Assert pcregrep -M '^\$\\frac\{1\}\{a\}\$ \$\\frac\{1\}\{a\}\$ \$a\$' test2.tex
diff --git a/development/autotests/findadv-re-01-in.txt
b/development/autotests/findadv-re-01-in.txt
index a4bfed0..f01ad56 100644
--- a/development/autotests/findadv-re-01-in.txt
+++ b/development/autotests/findadv-re-01-in.txt
@@ -7,14 +7,17 @@ KK: \Cs
KK: \CF
KK: \Axregexp-mode\[Return]\\(\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1'
lyx-log.txt
#
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: \Axregexp-mode\[Return]\\(\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 1\n with len: 1'
lyx-log.txt
# Finding special latex/regexp chars: [
@@ -24,12 +27,15 @@ TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
KK: \Axregexp-mode\[Return]\\[\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1'
lyx-log.txt
#
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: \Axregexp-mode\[Return]\\[\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 3\n with len: 1'
lyx-log.txt
diff --git a/development/autotests/findadv-re-02-in.txt
b/development/autotests/findadv-re-02-in.txt
index 7ef9679..ae80bf6 100644
--- a/development/autotests/findadv-re-02-in.txt
+++ b/development/autotests/findadv-re-02-in.txt
@@ -7,14 +7,17 @@ KK: \Cs
KK: \CF
KK: \Axregexp-mode\[Return]\\\\\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1'
lyx-log.txt
#
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: \Axregexp-mode\[Return]\\\\\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n with len: 1'
lyx-log.txt
# Finding special latex/regexp chars: %
@@ -24,14 +27,17 @@ TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
KK: \Axregexp-mode\[Return]%\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1'
lyx-log.txt
#
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: \Axregexp-mode\[Return]%\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 7\n with len: 1'
lyx-log.txt
# Finding special latex/regexp chars: ^
@@ -41,12 +47,15 @@ TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
KK: \Axregexp-mode\[Return]\\^\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1'
lyx-log.txt
#
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: \Axregexp-mode\[Return]\\^\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 8\n with len: 1'
lyx-log.txt
diff --git a/development/autotests/findadv-re-03-in.txt
b/development/autotests/findadv-re-03-in.txt
index 4456458..3f3f3f1 100644
--- a/development/autotests/findadv-re-03-in.txt
+++ b/development/autotests/findadv-re-03-in.txt
@@ -7,14 +7,17 @@ KK: \Cs
KK: \CF
KK: \Axregexp-mode\[Return]\\{\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1'
lyx-log.txt
#
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: \Axregexp-mode\[Return]\\{\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 5\n with len: 1'
lyx-log.txt
# Finding special latex/regexp chars: }
@@ -24,12 +27,15 @@ TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
KK: \Axregexp-mode\[Return]\\}\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1'
lyx-log.txt
#
+Lang it_IT.utf8
TestBegin test.lyx -dbg find > lyx-log.txt 2>&1
KK: \CF
# Uncheck ignore format
KK: \Az\Ag\Ae
KK: \Axregexp-mode\[Return]\\}\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 1'
lyx-log.txt
diff --git a/development/autotests/findadv-re-04-in.txt
b/development/autotests/findadv-re-04-in.txt
index 06481b1..d092a53 100644
--- a/development/autotests/findadv-re-04-in.txt
+++ b/development/autotests/findadv-re-04-in.txt
@@ -9,4 +9,5 @@ KK: \CF
KK: \Az\Ag\Ae
KK: \Ce\Axregexp-mode\[Return].*\[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 6\n with len: 5'
lyx-log.txt
diff --git a/development/autotests/findadv-re-05-in.txt
b/development/autotests/findadv-re-05-in.txt
index 20c0b7c..403ee5f 100644
--- a/development/autotests/findadv-re-05-in.txt
+++ b/development/autotests/findadv-re-05-in.txt
@@ -14,4 +14,5 @@ KK: \Cm\\frac 1-x\[Down]1+x^2 \C\[Home]
KK: \CF
KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return]
TestEnd
+Lang C
Assert pcregrep 'raggiunta la fine cercando in avanti' lyx-log.txt
diff --git a/development/autotests/findadv-re-06-in.txt
b/development/autotests/findadv-re-06-in.txt
index 779df37..296c2a5 100644
--- a/development/autotests/findadv-re-06-in.txt
+++ b/development/autotests/findadv-re-06-in.txt
@@ -8,4 +8,5 @@ KK: \CF
KK: \Az\Ag\Ae
KK: \Cm\\frac \Axregexp-mode\[Return].* \[Down]1+x^2 \[Return]
TestEnd
+Lang C
Assert pcregrep -M 'Putting selection at .*idx: 0 par: 0 pos: 0\n .*idx: 0
par: 0 pos: 0\n with len: 1' lyx-log.txt