debian-forge/test
Achilleas Koutsou b9efc1f9bf test/users: modify root's home directory in stage test
Since 9071cd0abb the commands in the
org.osbuild.users stage are run using the osbuild.util.chroot.Chroot
context manager.  This includes mounting /proc into the chroot.

The `usermod` command now fails with

  usermod: user root is currently used by process N

when modifying any property of the root user that requires the user to
not be logged in (like the home directory).

Change the home directory of the root user in the stage test to check
for this issue and catch regressions.
2024-11-26 23:35:04 +01:00
..
cases test/ostree: parallelize the test 2024-03-05 12:49:21 +02:00
data test/users: modify root's home directory in stage test 2024-11-26 23:35:04 +01:00
mod Fix pylint issue E0606: possibly-used-before-assignment 2024-11-25 10:09:18 +01:00
run osbuild: also print what export is availalble when one is not found 2024-09-10 10:49:18 -07:00
stages test: add test for export option 2024-01-10 11:24:01 +01:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
conftest.py Test: add ability to skip tests for unsupported file-systems 2023-04-21 17:13:10 +02:00
initrd.py autopep8: Update with changes to make autopep8 -a -a -a happy 2023-08-10 13:04:14 +02:00
test.py test: add test for export option 2024-01-10 11:24:01 +01:00