diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-12-29 20:39:58 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-12-29 21:17:36 +0100 |
commit | 907c98acbbf533715983c61a1e53cb29a52c4bef (patch) | |
tree | e228c54d454dd22085b0b2f3393462c326c46bcf /tests/builders.scm | |
parent | 8f501ac849fe012e7aefb001cbd7b17801df36d7 (diff) | |
download | guix-907c98acbbf533715983c61a1e53cb29a52c4bef.tar guix-907c98acbbf533715983c61a1e53cb29a52c4bef.tar.gz |
lint: Add tests for the 'home-page' checker.
Suggested by Cyril Roelandt <tipecaml@gmail.com>.
* tests/lint.scm (%http-server-port, %http-server-socket, %local-url,
stub-http-server): New variables.
(http-write, call-with-http-server): New procedures.
(with-http-server): New macro.
("home-page: wrong home-page", "home-page: invalid URI", "home-page:
host not found", "home-page: Connection refused", "home-page: 200",
"home-page: 404"): New tests.
* guix/scripts/lint.scm (check-home-page): Export.
Diffstat (limited to 'tests/builders.scm')
0 files changed, 0 insertions, 0 deletions