mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
tests: Really skip /var/run/utmpx test when needed.
* tests/syscalls.scm: Change 'test-ski' to 'test-skip'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
af7d72b16c
commit
f18eded8ec
1 changed files with 1 additions and 1 deletions
|
@ -456,7 +456,7 @@ (define perform-container-tests?
|
|||
(eof-object? (read-utmpx (%make-void-port "r"))))
|
||||
|
||||
(unless (access? "/var/run/utmpx" O_RDONLY)
|
||||
(tes-skip 1))
|
||||
(test-skip 1))
|
||||
(test-assert "read-utmpx"
|
||||
(let ((result (call-with-input-file "/var/run/utmpx" read-utmpx)))
|
||||
(or (utmpx? result) (eof-object? result))))
|
||||
|
|
Loading…
Reference in a new issue