diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-05-17 12:00:36 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-05-31 23:25:24 +0200 |
commit | 09526da78f4f7c33e2c6b16c0b314d007f99d10f (patch) | |
tree | cb2658dbf295d01d3cfdf869a137e1f7717aebda /tests | |
parent | 58da6b297c2696651d4c069678be0d2188eaec92 (diff) | |
download | guix-09526da78f4f7c33e2c6b16c0b314d007f99d10f.tar guix-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')
0 files changed, 0 insertions, 0 deletions