summary refs log tree commit diff
path: root/m4/guix.m4
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-12-29 20:39:58 +0100
committerLudovic Courtès <ludo@gnu.org>2014-12-29 21:17:36 +0100
commit907c98acbbf533715983c61a1e53cb29a52c4bef (patch)
treee228c54d454dd22085b0b2f3393462c326c46bcf /m4/guix.m4
parent8f501ac849fe012e7aefb001cbd7b17801df36d7 (diff)
downloadguix-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 'm4/guix.m4')
0 files changed, 0 insertions, 0 deletions