Add tests from the old svn tree
We're losing the svn history (which we could probably keep if we tried hard enough) but don't consider that worthwhile. Note these tests are destructive, so run them only in a throwaway environment like a chroot, container, or vm. The tests/run.all script should be the one which launches all the tests. Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
This commit is contained in:
15
tests/log/faillog/15_faillog_bad_option/data/usage.out
Normal file
15
tests/log/faillog/15_faillog_bad_option/data/usage.out
Normal file
@@ -0,0 +1,15 @@
|
||||
faillog: invalid option -- 'Z'
|
||||
Usage: faillog [options]
|
||||
|
||||
Options:
|
||||
-a, --all display faillog records for all users
|
||||
-h, --help display this help message and exit
|
||||
-l, --lock-secs SEC after failed login lock account for SEC seconds
|
||||
-m, --maximum MAX set maximum failed login counters to MAX
|
||||
-r, --reset reset the counters of login failures
|
||||
-R, --root CHROOT_DIR directory to chroot into
|
||||
-t, --time DAYS display faillog records more recent than DAYS
|
||||
-u, --user LOGIN/RANGE display faillog record or maintains failure
|
||||
counters and limits (if used with -r, -m,
|
||||
or -l) only for the specified LOGIN(s)
|
||||
|
Reference in New Issue
Block a user