support/testing: TestInitSystemSystemdRwIfupdown test expect a RW rootfs
authorRomain Naour <romain.naour@gmail.com>
Sun, 8 Nov 2020 23:00:09 +0000 (00:00 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 9 Nov 2020 20:10:35 +0000 (21:10 +0100)
commit14ed65e3a62999a7cef55c357b18789451522340
tree98b915d535f794a3a36fc155850f880219598be4
parent642f821ce51588bd69fa3ca5fcd2ae53097257cd
support/testing: TestInitSystemSystemdRwIfupdown test expect a RW rootfs

When running the TestInitSystemSystemdRwIfupdown test, the rootfs must
be in read-write mode. The commit log [1] introducing systemd tests say
so:

"basic systemd, read-write, network w/ ifupdown"

With systemd 246.5, the service systemd-update-done return an error code
when it can't write on the filesystem (/etc)

[1] 117835d5fcd508f301d62dd08ee658c1982c7fa7
[2] https://github.com/systemd/systemd/commit/8019995e9af9c6d7b5985198cedccd24eda3e26e

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/830981813

Signed-off-by: Romain Naour <romain.naour@gmail.com>
Cc: Yann E. MORIN <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
support/testing/tests/init/test_systemd.py