patch 8.2.2153: popupwin test for latin1 still fails sometimes
Problem: Popupwin test for latin1 still fails sometimes.
Solution: Wait for the "cat" command to finish.
diff --git a/src/testdir/test_popupwin.vim b/src/testdir/test_popupwin.vim
index 32a1eb7..ca7c6a9 100644
--- a/src/testdir/test_popupwin.vim
+++ b/src/testdir/test_popupwin.vim
@@ -3722,6 +3722,10 @@
terminal cat Xmultibyte
call popup_create(['one', 'two', 'three', 'four'], #{line: 1, col: 10})
redraw
+ " wait for "cat" to finish
+ while execute('ls!') !~ 'finished'
+ sleep 10m
+ endwhile
echo "Done"
END
call writefile(lines, 'XtestPopupLatin')