test: Fail cgroup delegation test when user cannot be created
authorMichal Koutný <mkoutny@suse.com>
Fri, 26 Jul 2024 08:44:10 +0000 (10:44 +0200)
committerLuca Boccassi <bluca@debian.org>
Thu, 15 Aug 2024 12:08:37 +0000 (13:08 +0100)
commit8ea1e6450c4cbe2ea142d167214ca97c9e6b7984
tree93a9c4156bdcb4740eb1cbafb42b7726132968fd
parent161286e989a497537f7f38741dfe722dc2762a2e
test: Fail cgroup delegation test when user cannot be created

It means: a) user cannot be created, something's wrong in the
test environment -> fail the test; b) user already exists, we shall not
continue and delete (foreign) user.

(cherry picked from commit 3e6e3e6d40db0a9e9741ef4942218193fca7b28e)
test/units/TEST-19-CGROUP.delegate.sh