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
32af98d0
Commit
32af98d0
authored
Sep 19, 2022
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update 'process' docs
parent
0748f3f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
11 deletions
+28
-11
vtc_process.c
bin/varnishtest/vtc_process.c
+28
-11
No files found.
bin/varnishtest/vtc_process.c
View file @
32af98d0
...
...
@@ -908,10 +908,14 @@ process_close(struct process *p)
* Output from the stderr-pipe is copied verbatim to ${pNAME_err}, and
* is always included in the vtc_log.
*
* process pNAME SPEC [-log] [-dump] [-hexdump] [-expect-exit N]
* [-start] [-run]
* [-write STRING] [-writeln STRING]
* [-kill STRING] [-stop] [-wait] [-close] [-screen-dump]
* process pNAME SPEC [-allow-core] [-expect-exit N] [-expect-signal N]
* [-dump] [-hexdump] [-log]
* [-run] [-close] [-kill SIGNAL] [-start] [-stop] [-wait]
* [-write STRING] [-writeln STRING] [-writehex HEXSTRING]
* [-need-bytes [+]NUMBER]
* [-screen-dump] [-winsz LINES COLUMNSS] [-ansi-response]
* [-expect-cursor LINE COLUMN] [-expect-text LINE COLUMN TEXT]
* [-match-text LINE COLUMN REGEXP]
*
* pNAME
* Name of the process. It must start with 'p'.
...
...
@@ -934,6 +938,12 @@ process_close(struct process *p)
* \-expect-exit N
* Expect exit status N
*
* \-expect-signal N
* Expect signal in exit status N
*
* \-allow-core
* Core dump in exit status is OK
*
* \-wait
* Wait for the process to finish.
*
...
...
@@ -954,7 +964,7 @@ process_close(struct process *p)
* expression from either output, consider using it if you only need
* to match one.
*
* \-kill S
TRING
* \-kill S
IGNAL
* Send a signal to the process. The argument can be either
* the string "TERM", "INT", or "KILL" for SIGTERM, SIGINT or SIGKILL
* signals, respectively, or a hyphen (-) followed by the signal
...
...
@@ -970,7 +980,10 @@ process_close(struct process *p)
* \-stop
* Shorthand for -kill TERM.
*
* \-winsz LIN COL
* \-close
* Alias for "-kill HUP"
*
* \-winsz LINES COLUMNS
* Change the terminal window size to LIN lines and COL columns.
*
* \-write STRING
...
...
@@ -986,20 +999,24 @@ process_close(struct process *p)
* Wait until at least NUMBER bytes have been received in total.
* If '+' is prefixed, NUMBER new bytes must be received.
*
* \-expect-text LIN COL PAT
* Wait for PAT to appear at LIN,COL on the virtual screen.
* \-ansi-response
* Respond to terminal respond-back sequences
*
* \-expect-cursor LINE COLUMN
* Expect cursors location
*
* \-expect-text LINE COLUMNS TEXT
* Wait for TEXT to appear at LIN,COL on the virtual screen.
* Lines and columns are numbered 1...N
* LIN==0 means "on any line"
* COL==0 means "anywhere on the line"
*
* \-match-text LIN
COL PAT
* \-match-text LIN
E COLUMN REGEXP
* Wait for the PAT regular expression to match the text at LIN,COL on the virtual screen.
* Lines and columns are numbered 1...N
* LIN==0 means "on any line"
* COL==0 means "anywhere on the line"
*
* \-close
* Alias for "-kill HUP"
*
* \-screen-dump
* Dump the virtual screen into vtc_log
...
...
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