mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
tests: Skip unreliable "herd invalidate nscd" test.
* gnu/tests/base.scm (run-basic-test)["nscd invalidate action, wrong table"]: Skip unconditionally.
This commit is contained in:
parent
8b310793d2
commit
33572a3662
2 changed files with 5 additions and 2 deletions
|
@ -1294,8 +1294,8 @@ (define (nscd-action-procedure nscd config option)
|
|||
(lambda args
|
||||
;; There's a race with the SIGCHLD handler, which could
|
||||
;; call 'waitpid' before 'close-pipe' above does. If we
|
||||
;; get ECHILD, that means we lost the race, but that's
|
||||
;; fine.
|
||||
;; get ECHILD, that means we lost the race; in that case, we
|
||||
;; cannot tell what the exit code was (FIXME).
|
||||
(or (= ECHILD (system-error-errno args))
|
||||
(apply throw args)))))
|
||||
(line
|
||||
|
|
|
@ -382,6 +382,9 @@ (define (entry->list entry)
|
|||
result)
|
||||
marionette))
|
||||
|
||||
;; FIXME: The 'invalidate' action can't reliably obtain the exit
|
||||
;; code of 'nscd' so skip this test.
|
||||
(test-skip 1)
|
||||
(test-equal "nscd invalidate action, wrong table"
|
||||
'(#f) ;one value, #f
|
||||
(marionette-eval '(with-shepherd-action 'nscd ('invalidate "xyz")
|
||||
|
|
Loading…
Reference in a new issue