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
f7a3acb8
Commit
f7a3acb8
authored
Jan 07, 2017
by
Federico G. Schwindt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Start documenting vtc's process
parent
0863fc70
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
2 deletions
+42
-2
vtc_process.c
bin/varnishtest/vtc_process.c
+41
-2
Makefile.am
doc/sphinx/Makefile.am
+1
-0
No files found.
bin/varnishtest/vtc_process.c
View file @
f7a3acb8
...
@@ -313,8 +313,47 @@ process_close(struct process *p)
...
@@ -313,8 +313,47 @@ process_close(struct process *p)
p
->
fds
[
1
]
=
-
1
;
p
->
fds
[
1
]
=
-
1
;
}
}
/**********************************************************************
/* SECTION: process process
* Process command dispatch
*
* Run a process in the background with stdout and stderr redirected to
* ${tmpdir}/pNAME/stdout and ${tmpdir}/pNAME/stderr, respectively::
*
* process pNAME SPEC [-wait] [-start] [-run] [-kill STRING] [-stop] \
* [-write STRING] [-writeln STRING] [-close]
*
* pNAME
* Name of the process. It must start with 'p'.
*
* SPEC
* The command(s) to run in this process.
*
* \-start
* Start the process.
*
* \-wait
* Wait for the process to finish.
*
* \-run
* Shorthand for -start -wait.
*
* \-kill STRING
* 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
* number.
*
* \-stop
* Shorthand for -kill TERM.
*
* \-write STRING
* Write a string to the process' stdin.
*
* \-writeln STRING
* Same as -write followed by a newline (\\n).
*
* \-close
* Close the process' stdin.
*
*/
*/
void
void
...
...
doc/sphinx/Makefile.am
View file @
f7a3acb8
...
@@ -183,6 +183,7 @@ VTCSYN_SRC = $(top_srcdir)/bin/varnishtest/vtc.c \
...
@@ -183,6 +183,7 @@ VTCSYN_SRC = $(top_srcdir)/bin/varnishtest/vtc.c \
$(top_srcdir)
/bin/varnishtest/vtc_http.c
\
$(top_srcdir)
/bin/varnishtest/vtc_http.c
\
$(top_srcdir)
/bin/varnishtest/vtc_http2.c
\
$(top_srcdir)
/bin/varnishtest/vtc_http2.c
\
$(top_srcdir)
/bin/varnishtest/vtc_logexp.c
\
$(top_srcdir)
/bin/varnishtest/vtc_logexp.c
\
$(top_srcdir)
/bin/varnishtest/vtc_process.c
\
$(top_srcdir)
/bin/varnishtest/vtc_varnish.c
$(top_srcdir)
/bin/varnishtest/vtc_varnish.c
include/vtc-syntax.rst
:
vtc-syntax.py $(VTCSYN_SRC)
include/vtc-syntax.rst
:
vtc-syntax.py $(VTCSYN_SRC)
$(PYTHON)
$(top_srcdir)
/doc/sphinx/vtc-syntax.py
$(VTCSYN_SRC)
>
$@
$(PYTHON)
$(top_srcdir)
/doc/sphinx/vtc-syntax.py
$(VTCSYN_SRC)
>
$@
...
...
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