☰
Debian Codegraph
@
25.3.0-4
/
/
debian
/
tests
/
0001-smoketest
☽
☼
debian/tests/0001-smoketest
code
plain
raw
GPL-3+
© 2010 Chris Lamb <
[email protected]
>; 2026, Michael Fladischer <
[email protected]
>
debian/copyright
1
#!/bin/sh
2
#
3
# Smoketest a simple app.
4
5
set -eu
6
7
cd debian/tests
8
gunicorn --daemon --workers=2 --pid=app.pid test:app
9
sleep 5
10
11
curl http://127.0.0.1:8000 | grep 'OK'
12
kill $(cat app.pid)
13
rm -f app.pid