summaryrefslogtreecommitdiff
path: root/gnu/tests/version-control.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/tests/version-control.scm')
-rw-r--r--gnu/tests/version-control.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/tests/version-control.scm b/gnu/tests/version-control.scm
index 8b02d3d9ba1..0f35e55de18 100644
--- a/gnu/tests/version-control.scm
+++ b/gnu/tests/version-control.scm
@@ -286,6 +286,14 @@ HTTP-PORT."
286 (test-equal "clone" 286 (test-equal "clone"
287 '#$README-contents 287 '#$README-contents
288 (begin 288 (begin
289 ;; Make sure that the fcgiwrap user can access the /srv/git
290 ;; directory and its child.
291 (marionette-eval
292 '(let ((user (getpw (pk "fcgiwrap"))))
293 (for-each (lambda (dir)
294 (chown dir (passwd:uid user) (passwd:gid user)))
295 '("/srv/git" "/srv/git/test")))
296 marionette)
289 (invoke #$(file-append git "/bin/git") "clone" "-v" 297 (invoke #$(file-append git "/bin/git") "clone" "-v"
290 "http://localhost:8080/git/test" "/tmp/clone") 298 "http://localhost:8080/git/test" "/tmp/clone")
291 (call-with-input-file "/tmp/clone/README" 299 (call-with-input-file "/tmp/clone/README"