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
35f79a69
Commit
35f79a69
authored
Apr 06, 2018
by
Poul-Henning Kamp
Committed by
Dridi Boukelmoune
Jun 19, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More code coverage of Teken
parent
4d2c0c54
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
1 deletion
+68
-1
a00001.vtc
bin/varnishtest/tests/a00001.vtc
+68
-1
No files found.
bin/varnishtest/tests/a00001.vtc
View file @
35f79a69
...
...
@@ -2,7 +2,7 @@ varnishtest "Test Teken terminal emulator"
feature cmd "vttest --version 2>&1 | grep -q Usage"
process p4
-dump
{vttest} -start
process p4 {vttest} -start
process p4 -expect-text 21 11 "Enter choice number (0 - 12):"
process p4 -screen_dump
...
...
@@ -37,6 +37,73 @@ process p4 -writehex 0d
process p4 -expect-text 21 11 "Enter choice number (0 - 12):"
process p4 -screen_dump
process p4 -writehex "32 0d"
process p4 -expect-text 8 1 "Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 5 1 "should look the same. Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 0 0 "This is 132 column mode, light background.Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 0 0 "This is 80 column mode, light background.Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 0 0 "This is 132 column mode, dark background.Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 0 0 "This is 80 column mode, dark background.Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 0 1 "Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 3 1 "Soft scroll down region [1..24] size 24 Line 28"
process p4 -expect-text 1 1 "Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 0 1 "Jump scroll down region [12..13] size 2 Line 29"
process p4 -expect-text 0 1 "Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 3 1 "Jump scroll down region [1..24] size 24 Line 28"
process p4 -expect-text 1 1 "Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 23 0 "Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 1 0 "Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 23 1 "Dark background. Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 23 1 "Light background. Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 24 1 "Push <RETURN>"
process p4 -screen_dump
process p4 -writehex 0d
process p4 -expect-text 21 11 "Enter choice number (0 - 12):"
process p4 -screen_dump
process p4 -writehex "30 0d"
process p4 -expect-text 12 30 "That's all, folks!"
process p4 -screen_dump
...
...
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