summaryrefslogtreecommitdiff
path: root/gnu/tests
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2026-02-08 07:27:24 +0100
committerDanny Milosavljevic <dannym@friendly-machines.com>2026-02-08 23:53:58 +0100
commit64622248cdc7eae23ff06928f516677b41c4d97d (patch)
treecc0c265dfb92005cd63edd27c6f5ff28c716b463 /gnu/tests
parentdaca67c56004bcf2fc7abb038384e2f97215f265 (diff)
services: web: Add go-webdav.
* gnu/services/web.scm (go-webdav-service-type): New service. (go-webdav-account-service): New variable. (go-webdav-shepherd-service): New procedures. * gnu/tests/web.scm (%test-go-webdav): Add tests for the service. * doc/guix.texi (Web Services): Document it. Signed-off-by: Danny Milosavljevic <dannym@friendly-machines.com>
Diffstat (limited to 'gnu/tests')
-rw-r--r--gnu/tests/web.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/tests/web.scm b/gnu/tests/web.scm
index 47879aa08f7..4f07eb967a8 100644
--- a/gnu/tests/web.scm
+++ b/gnu/tests/web.scm
@@ -39,6 +39,7 @@
39 #:use-module (gnu packages databases) 39 #:use-module (gnu packages databases)
40 #:use-module (gnu packages guile-xyz) 40 #:use-module (gnu packages guile-xyz)
41 #:use-module (gnu packages gnupg) 41 #:use-module (gnu packages gnupg)
42 #:use-module (gnu packages golang-xyz)
42 #:use-module (gnu packages patchutils) 43 #:use-module (gnu packages patchutils)
43 #:use-module (gnu packages python) 44 #:use-module (gnu packages python)
44 #:use-module (gnu packages tls) 45 #:use-module (gnu packages tls)
@@ -57,6 +58,7 @@
57 %test-php-fpm 58 %test-php-fpm
58 %test-hpcguix-web 59 %test-hpcguix-web
59 %test-anonip 60 %test-anonip
61 %test-go-webdav
60 %test-patchwork 62 %test-patchwork
61 %test-agate 63 %test-agate
62 %test-miniflux-admin-string 64 %test-miniflux-admin-string
@@ -604,6 +606,26 @@ HTTP-PORT, along with php-fpm."
604 606
605 607
606;;; 608;;;
609;;; go-webdav
610;;;
611
612(define %go-webdav-os
613 (simple-operating-system
614 (service dhcpcd-service-type)
615 (simple-service 'make-http-root activation-service-type
616 %make-http-root)
617 (service go-webdav-service-type
618 ;; run-webserver-test requires :8080 to be used as the port.
619 '("-addr" ":8080" "/srv/http/"))))
620
621(define %test-go-webdav
622 (system-test
623 (name "go-webdav")
624 (description "Test that go-webdav can handle HTTP requests.")
625 (value (run-webserver-test name %go-webdav-os))))
626
627
628;;;
607;;; Patchwork 629;;; Patchwork
608;;; 630;;;
609 631