Lines Matching refs:pwd2
111 uv_passwd_t pwd2; in TEST_IMPL() local
119 r = uv_os_get_passwd2(&pwd2, pwd.uid); in TEST_IMPL()
127 ASSERT_EQ(pwd.uid, pwd2.uid); in TEST_IMPL()
128 ASSERT_STR_EQ(pwd.username, pwd2.username); in TEST_IMPL()
129 ASSERT_STR_EQ(pwd.shell, pwd2.shell); in TEST_IMPL()
130 ASSERT_STR_EQ(pwd.homedir, pwd2.homedir); in TEST_IMPL()
131 uv_os_free_passwd(&pwd2); in TEST_IMPL()
133 r = uv_os_get_passwd2(&pwd2, 0); in TEST_IMPL()
136 len = strlen(pwd2.username); in TEST_IMPL()
140 ASSERT_STR_EQ(pwd2.username, "qsecofr"); in TEST_IMPL()
142 ASSERT_STR_EQ(pwd2.username, "root"); in TEST_IMPL()
144 len = strlen(pwd2.homedir); in TEST_IMPL()
148 len = strlen(pwd2.shell); in TEST_IMPL()
153 uv_os_free_passwd(&pwd2); in TEST_IMPL()