summary refs log tree commit diff
path: root/tests/hackage.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2023-05-17 12:00:36 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-31 23:25:24 +0200
commit09526da78f4f7c33e2c6b16c0b314d007f99d10f (patch)
treecb2658dbf295d01d3cfdf869a137e1f7717aebda /tests/hackage.scm
parent58da6b297c2696651d4c069678be0d2188eaec92 (diff)
downloadguix-09526da78f4f7c33e2c6b16c0b314d007f99d10f.tar.gz
tests: http: Allow responses to specify a path.
* guix/tests/http.scm (%local-url): Add #:path parameter and honor it.
(call-with-http-server)[responses]: Add extra clause with 'path'.
[bad-request]: New variable.
[server-body]: Handle three-element clauses.
Wrap 'run-server' call in 'parameterize'.
Diffstat (limited to 'tests/hackage.scm')
0 files changed, 0 insertions, 0 deletions