Subject: Re: bug#29426: guix: "make check" test "utmpx-entries" fails

From: [email-masked] (Ludovic Courtès)
Date: Fri, 24 Nov 2017 21:58:36 +0100

Hello,

Adonay Felipe Nogueira <[email-masked]> skribis:

> test-name: utmpx-entries
> location: /home/adfeno/Projetos/Software/guix/tests/syscalls.scm:522
> source:
> + (test-assert
> +   "utmpx-entries"
> +   (match (utmpx-entries)
> +          (((? utmpx? entries) ...)
> +           (every (lambda (entry)
> +                    (match (utmpx-user entry)
> +                           ((? string?)
> +                            (or (eqv? (login-type BOOT_TIME)
> +                                      (utmpx-login-type entry))
> +                                (> (utmpx-pid entry) 0)))
> +                           (#f #t)))
> +                  entries))))
> actual-value: #f
> result: FAIL

Can you try this in a REPL?

You can run:

  ./pre-inst-env guile

and then:

  ,use (guix build syscalls)
  (utmpx-entries)

TIA!

Ludo’.