Adding tests to the new_tests branch

This commit is contained in:
esakaiev 2018-01-05 20:39:59 +02:00
parent 95d0ea6880
commit a6650f241c
5 changed files with 1137 additions and 0 deletions

10
tests/sanity/PURPOSE Normal file
View file

@ -0,0 +1,10 @@
This is a basic sanity test for the shadow-utils package. It is implemented
in python on top of the unittesting.py module.
Its purpose is to ensure that the binaries in the shadow-utils package behave
as expected and its switches/options work correctly.
For the most part, every binary in the shadow-utils package is represented by
a single class named Test<BinaryName>, i.e. TestUsermod etc. There are some
exceptions, like TestUseraddWeirdNameTest though.