* Unit test to make sure that lookupUid works correctly
* give a fake password file
*/
public void testChangeGecosPass() throws ExpectJException {
// passwd is a fake class for testing located in testcases dir
PasswdCmd passwdcmd = new PasswdCmd();
boolean valid = false;
try {
valid = passwdcmd.changeGecos(USER_ID, GECOS_PASS);
} catch (ExpectJException e) {
throw e;
}
assertTrue(valid == true);