add more tests
authorMazet Laurent <mazet@softndesign.org>
Wed, 15 May 2024 21:31:54 +0000 (23:31 +0200)
committerMazet Laurent <mazet@softndesign.org>
Wed, 15 May 2024 21:31:54 +0000 (23:31 +0200)
cmore.c

diff --git a/cmore.c b/cmore.c
index a490d06714fe92bc92702ac6601edf74d26ef82b..92fa68689316254c12643fede9e32addc2ba0cb3 100644 (file)
--- a/cmore.c
+++ b/cmore.c
@@ -379,6 +379,7 @@ int main (int argc, char *argv[])
 /* test: cat tui.c | cmore.exe -v 3 -s 2*/
 /* test: (sleep 1; echo -n q) | cmore.exe -c 'ip addr' */
 /* test: (sleep 1; echo -ne '\e\e') | cmore.exe -f tui.c */
+/* test: (sleep 1; echo -ne '\ex'; sleep 1; echo -ne '\e\e') | cmore.exe -f tui.c */
 /* test: (sleep 1; echo -n :x; sleep 1; echo -n ::) | cmore.exe -f tui.c */
 /* test: (sleep 1; echo -n kkkkk; sleep 1; echo -n i; sleep 1; echo -n q) | cmore.exe -c 'ip addr' */
 /* test: (sleep 1; echo -n q) | cmore.exe -c 'echo -n a; for i in $(seq 1 '$(( $COLUMNS*($LINES-4)-2 ))'); do echo -n .; done; echo -n z' -v 3 | grep -q 'last line too long' */