Control: tags -1 
thanks

On Mon, Aug 22, 2022 at 08:42:26PM +0200, Marc Haber wrote:
> Unfortunately, docs and tests are missing, and there are still some
> issues in the code (marked with TODO). Hence, it's still a draft. Having
> the code on salsa will help with rebasing.

I have written a test for this functionality. Can you take a look at
https://salsa.debian.org/debian/adduser/-/blob/check-243929/debian/tests/f/uidgidpool.t
and tell me what you think?

Basically, the test consists of three parts that are working with two
users and two groups:

- create users and groups and verify whether they get arbitrary uid/gid
- create two pool _files_ with the definitions and verify whether they
  get honored when users and groups are created
- create two pool _directories_ with two files each containing one
  definition, verify whether they get honored

Is that enough testing or can you come up with additional ideas that
would be worth testing?

Greetings
Marc

Reply via email to