forked from python-hyper/h2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
99 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
# A test script that runs the example Python Twisted server and then runs | ||
# h2spec against it. Prints the output of h2spec. This script does not expect | ||
# to be run directly, but instead via `tox -e h2spec`. | ||
|
||
set -x | ||
|
||
# Kill all background jobs on exit. | ||
trap 'kill $(jobs -p)' EXIT | ||
|
||
pushd examples/asyncio | ||
python asyncio-server.py & | ||
popd | ||
|
||
# Wait briefly to let the server start up | ||
sleep 2 | ||
|
||
# Go go go! | ||
h2spec -k -t -v -p 8443 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters