# 1.6.2: a PDF of JPEG 2000 scans (test/jpx.pdf from test/mksamples.py, 24 pages). Before 1.6.2 the text read's
# worker threads crashed AiReader on it: their MuPDF contexts did not share the FreeType lock that guards MuPDF's
# process-wide OpenJPEG context. test/wine/edit_tests.sh opens a copy; @R = the run's suffix.
wait 8000
echo --- 1. the text read finished: every page read, the app still running
state test/out/t30_01_read-@R.txt
echo --- 2. a word only on the last page is found there
key ctrl+f
type folio24
wait 800
state test/out/t30_02_search-@R.txt
key esc
wait 200
quit
