diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-03-06 09:34:55 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2020-03-06 13:02:30 +0100 |
commit | abaaa79b22f48dac0b45737fcef730fc3471384c (patch) | |
tree | b4d04eaf5b990f866996d5ea6ad2a9a3c2ff7544 /src/test/test-execute.c | |
parent | execute: Fix migration from DynamicUser=yes to no (diff) | |
download | systemd-abaaa79b22f48dac0b45737fcef730fc3471384c.tar.xz systemd-abaaa79b22f48dac0b45737fcef730fc3471384c.zip |
test: add a test case for migrating DynamicUser=yes to no
Diffstat (limited to 'src/test/test-execute.c')
-rw-r--r-- | src/test/test-execute.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test-execute.c b/src/test/test-execute.c index 92a0516df7..4e0fd7d5b4 100644 --- a/src/test/test-execute.c +++ b/src/test/test-execute.c @@ -561,6 +561,7 @@ static void test_exec_dynamicuser(Manager *m) { test(__func__, m, "exec-dynamicuser-statedir-migrate-step1.service", 0, CLD_EXITED); test(__func__, m, "exec-dynamicuser-statedir-migrate-step2.service", can_unshare ? 0 : EXIT_NAMESPACE, CLD_EXITED); + test(__func__, m, "exec-dynamicuser-statedir-migrate-step1.service", 0, CLD_EXITED); (void) rm_rf("/var/lib/test-dynamicuser-migrate", REMOVE_ROOT|REMOVE_PHYSICAL); (void) rm_rf("/var/lib/test-dynamicuser-migrate2", REMOVE_ROOT|REMOVE_PHYSICAL); |