support/testing: new test for root password
authorVictor Huesca <victor.huesca@bootlin.com>
Tue, 13 Aug 2019 07:33:20 +0000 (09:33 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Tue, 13 Aug 2019 20:30:41 +0000 (22:30 +0200)
commit152776b4207bd7f369f8ff7d4e3b1dff7063111f
tree40a80fe30cf17d298fbd760a5098444eefd112fb
parent0213feb8231daceb88d09a47ad915066447a9f95
support/testing: new test for root password

Add support to test that the root passowrd is working as expected.
- Buildtime test: Check the hash present in the generated '/etc/shadow'.
- Runtime test: Build an armv7 image and try to login with a password.

Signed-off-by: Victor Huesca <victor.huesca@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
.gitlab-ci.yml
DEVELOPERS
support/testing/tests/core/test_root_password.py [new file with mode: 0644]