mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
tests: git-http: Avoid race condition.
* gnu/tests/version-control.scm (run-git-http-test)[test]("fcgiwrap listens"): New test.
This commit is contained in:
parent
02f5ee01c9
commit
de6b649f80
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2017, 2018 Oleg Pykhalov <go.wigust@gmail.com>
|
;;; Copyright © 2017, 2018 Oleg Pykhalov <go.wigust@gmail.com>
|
||||||
;;; Copyright © 2017, 2018 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2017, 2018, 2020 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org>
|
;;; Copyright © 2017, 2018 Clément Lassieur <clement@lassieur.org>
|
||||||
;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
|
;;; Copyright © 2018 Christopher Baines <mail@cbaines.net>
|
||||||
;;;
|
;;;
|
||||||
|
@ -285,6 +285,10 @@ (define marionette
|
||||||
'(file-exists? "/srv/git/test")
|
'(file-exists? "/srv/git/test")
|
||||||
marionette))
|
marionette))
|
||||||
|
|
||||||
|
(test-assert "fcgiwrap listens"
|
||||||
|
;; Wait for fcgiwrap to be ready before cloning.
|
||||||
|
(wait-for-tcp-port 9000 marionette))
|
||||||
|
|
||||||
;; Make sure we can clone the repo from the host.
|
;; Make sure we can clone the repo from the host.
|
||||||
(test-equal "clone"
|
(test-equal "clone"
|
||||||
'#$README-contents
|
'#$README-contents
|
||||||
|
|
Loading…
Reference in a new issue