--- libaitcfg/example/test_pwd.c 2012/09/19 12:23:12 1.1.2.6 +++ libaitcfg/example/test_pwd.c 2012/09/19 12:35:10 1.1.2.7 @@ -68,6 +68,11 @@ int main() u = (struct tagUser *) cfg_getPasswd(&db, PWD_CRIT_NAME, ""); printf("cfg_getPasswd %p NAME \"\"\n", u); + printf("cfg_setPasswd %p\n", cfg_setPasswd(&db, 3, "use", "alabala", 101, 0, + NULL, 0, 0, NULL, NULL, NULL)); + printf("cfg_setPasswd %p\n", cfg_setPasswd(&db, 4, "use", "alabala", 101, 0, + NULL, 0, 0, NULL, NULL, NULL)); + #if 0 /* unit test set */ printf("attr=%d set %d NULL\n", ALL, pwd_SetAttribute(&db, ALL, NULL));