tests: 'getlogin' test creates its file atomically.
authorLudovic Courtès <ludo@gnu.org>
Wed, 15 May 2019 10:09:48 +0000 (12:09 +0200)
committerLudovic Courtès <ludo@gnu.org>
Wed, 15 May 2019 10:18:51 +0000 (12:18 +0200)
commit8b310793d2b7d3cf5b3a5301423640dcf68e2528
treec797a640beb291bb2083e8120cdf4c369d68b2f1
parent604b167bf27d307c5bd30145b6486f90417d0d06
tests: 'getlogin' test creates its file atomically.

Previously we could end up reading an empty /root/login-id file.

* gnu/tests/base.scm (run-basic-test)["getlogin on tty1"]: Create
/root/login-id atomically.
gnu/tests/base.scm