#
Lang C
+CO: bug-export-latex.ctrl
TestBegin -dbg key,files test.lyx > bug-export-latex.loga.txt 2>&1
KK: \Axinfo-insert icon math-mode\[Return]
KK: \Axbuffer-export luatex\[Return]
KK: \[Tab]\[Return]
KK: \Axbuffer-write\[Return]
KK: \[Tab]\[Return]
+# The next lines should NOT match, because we do not want to create
+# math-mode.pdf inside the system-dir. That is, we expect the test to fail
+Cp: support/FileName.cpp .* creating path '/.*/lib/images'
+Cp: support/FileName.cpp .* Checksumming "/.*/lib/images/.*math-mode.pdf" .*lasted
TestEnd
-Lang C
-Assert ! pcregrep -M "support/FileName.cpp .* creating path '/.*/lib/images'" bug-export-latex.loga.txt
-Assert ! pcregrep -M 'support/FileName.cpp .* Checksumming "/.*/lib/images/.*math-mode.pdf" .*lasted ' bug-export-latex.loga.txt
+Assert searchPatterns.pl base=bug-export-latex