Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
varnish-cache
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
varnishcache
varnish-cache
Commits
49f3387c
Commit
49f3387c
authored
Apr 14, 2018
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exercise the CONS25 code.
parent
5d026a31
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
8 deletions
+31
-8
a00000.vtc
bin/varnishtest/tests/a00000.vtc
+31
-8
No files found.
bin/varnishtest/tests/a00000.vtc
View file @
49f3387c
...
...
@@ -41,15 +41,14 @@ shell -exit 77 -expect {TEST _.vtc skipped} {
exec varnishtest -v _.vtc || true
}
process p1 "ps -lw | grep '[p][s]' ; tty ; sleep 1" -run -screen_dump
process p1 "ps -lw | grep '[p][s]' ; tty ; echo @" -start
process p1 -expect-text 0 0 {@} -screen_dump -wait
process p2 "stty -a ; sleep 1" -run -screen_dump
process p2 "stty -a ; echo '*'" -start
process p2 -expect-text 0 0 {*} -screen_dump -wait
process p3 "stty raw -echo ; stty -a ; sleep 1" -run -screen_dump
process p4 -hexdump {stty raw -echo; echo "*" ; sleep 2 ; cat} -start
process p4 -expect-text 0 0 "*"
process p4 -hexdump {stty raw -echo; stty -a ; echo "*" ; cat} -start
process p4 -expect-text 0 0 "*" -screen_dump
process p4 -write "\x1b[H\x1b[2Jzzzzzzz"
process p4 -write "\x0c1\x1b[79C2\x08>\x1b[25;1H3\x1b[25;80H"
...
...
@@ -67,4 +66,28 @@ 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
process p4 -screen-dump -stop
process p4 -screen-dump
# Exercise CONS25 mode
process p4 -write "\x1b[=1T"
process p4 -write "\x1b[8z"
process p4 -write "\x1b[0x"
process p4 -write "\x1b[=1A"
process p4 -write "\x1b[=1;2B"
process p4 -write "\x1b[=1;2;3C"
process p4 -write "\x1b[=1F"
process p4 -write "\x1b[=1G"
process p4 -write "\x1b[=1S"
process p4 -writehex {0c 08 40 0d 0a 08}
process p4 -expect-text 1 1 "@"
process p4 -expect-cursor 1 80
process p4 -writehex "0c 41 0e 42 0f"
process p4 -expect-text 1 1 "A"
process p4 -expect-text 0 0 "B"
process p4 -write "\x1b[=0T"
process p4 -writehex "0c 0a 0d 43 0a 08 08 0e 44 0f"
process p4 -expect-text 3 1 "C"
process p4 -expect-text 4 1 "D"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment