[master] ce0f13b Test form-feed
Poul-Henning Kamp
phk at FreeBSD.org
Thu Apr 12 08:14:13 UTC 2018
commit ce0f13bbd59ee3e5f65d828e79b272d5d1b88f18
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date: Thu Apr 12 06:37:37 2018 +0000
Test form-feed
diff --git a/bin/varnishtest/tests/a00000.vtc b/bin/varnishtest/tests/a00000.vtc
index 52736fd..f5ef791 100644
--- a/bin/varnishtest/tests/a00000.vtc
+++ b/bin/varnishtest/tests/a00000.vtc
@@ -51,6 +51,8 @@ process p4 -hexdump {stty raw -echo; echo "*" ; sleep 2 ; cat} -start
process p4 -expect-text 0 0 "*"
+process p4 -write "\x1b[H\x1b[2Jzzzzzzz"
+process p4 -write "\x0c1\x1b[79C2\x08>\x1b[25;1H3\x1b[25;80H"
process p4 -write "\x1b[H\x1b[2J1\x1b[79C2\x08>\x1b[25;1H3\x1b[25;80H"
process p4 -write "4\x08>\x1b[A\x1b[Cv\x1b[22A^\x1b[79D^\x1b[;2H<\n\n\n\n"
process p4 -write "\n\n\n\n\n\n\n\n\x1b[B\x1b[11B\x08<\x1b[24;Hv\x1b[12;1H"
@@ -61,7 +63,7 @@ process p4 -write "\x0d\x0a111111112222222333333\x0d\x0a\x1b[12"
process p4 -write ";12H\x1b[K\x1b[13;12H\x1b[0K\x1b[14;12H\x1b[1K\x1b"
process p4 -write "[15;12H\x1b[2K\x1b[3;1Hline3 <\x0d\x0a"
-process p4 -need-bytes 270 -expect-text 3 1 "line3 <"
+process p4 -need-bytes 310 -expect-text 3 1 "line3 <"
process p4 -expect-cursor 4 1
process p4 -expect-cursor 4 0
process p4 -expect-cursor 0 1
More information about the varnish-commit
mailing list