The original test tries to create a failed service by passing it a uid that doesn't exist, which works as intended on systemd=229, but results in a service created in an inactive rather than failed state on systemd=239.
This commit changes the test and has it try to create a service with an invalid working dir instead of uid, and has been confirmed to work on both versions as the created service fails with an error of 200/CHDIR.
The original test tries to create a failed service by passing it a uid that doesn't exist, which works as intended on systemd=229, but results in a service created in an
inactive
rather thanfailed
state on systemd=239.This commit changes the test and has it try to create a service with an invalid working dir instead of uid, and has been confirmed to work on both versions as the created service fails with an error of
200/CHDIR
.