756e5d Added tests for the passwd package

Authored and Committed by Iain Douglas 11 years ago
    Added tests for the passwd package
    Created tests/p_passwd
            0_install_passwd - ensures required packages are available
            10_passwd_basic_test - creates passtest user and adds a password
            20_root_tests - checks that root only options can be set
            30_user_tests - checks standard user cannot use root only options and then
                            checks that the user can change their own password and that
                            password complexity is enforced.
            _user_password.expect helper for 30_user_tests - when running changing password tests
            _password_complexity.expect helper for 30_user_tests when running complexity tests
            TODO - Stuff I don't know how to test.
    
        
file modified
+1 -0
file added
+3