Commit 7854c395 authored by Jim Fulton's avatar Jim Fulton

test that bin.server is generated

parent 85e30ebf
...@@ -264,6 +264,21 @@ If we run Buildout: ...@@ -264,6 +264,21 @@ If we run Buildout:
.. -> src .. -> src
>>> run_buildout(src) >>> run_buildout(src)
>>> print(read('bin/server')) # doctest: +ELLIPSIS
#!...python...
<BLANKLINE>
import sys
sys.path[0:0] = [
'.../eggs/zdaemon...
<BLANKLINE>
import zdaemon.zdctl
<BLANKLINE>
if __name__ == '__main__':
sys.exit(zdaemon.zdctl.main([
'-C', '.../parts/server/zdaemon.conf',
]+sys.argv[1:]
))
<BLANKLINE>
- The ``zc.zdaemonrecipe`` recipe will be downloaded and installed in - The ``zc.zdaemonrecipe`` recipe will be downloaded and installed in
the eggs directory. the eggs directory.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment