summaryrefslogtreecommitdiffstats
path: root/pw/tests/pw_delete.sh
Commit message (Collapse)AuthorAgeFilesLines
* Replace the pw(1) calls with a variable, to make it easier to to change ↵Brad Davis2014-11-191-7/+7
| | | | | | across all the tests as needed. Reviewed by: will
* Clean up some languageBrad Davis2014-11-171-11/+11
| | | | Reviewed by: will
* Ensure pw userdel -u <invalid> do not try to remove rootBaptiste Daroussin2014-10-281-0/+11
| | | | | | Check the uid passed is actually a number as early as possible MFC after: 1 week
* Fix atf syntaxBaptiste Daroussin2014-10-281-1/+1
|
* Do not delete the group wheel when bad argument is passed to pw groupdel -gBaptiste Daroussin2014-10-281-0/+12
| | | | | | | | | | | | Check that the -g argument is actually a number, if not report an error. This argument is converted without checking with atoi(3) later so without this check it converts any alpha entries into 0 meaning it deletes the group wheel Add a regression test about it PR: 90114 Reported by: bkoenig@cs.tu-berlin.de MFC after: 1 week
* - Add a test for bug 191427 where pw(8) will go into an infinite loopBrad Davis2014-10-021-0/+24
Reviewed by: will MFC after: 1 month