Lines Matching refs:pwd
37 uv_passwd_t pwd; in TEST_IMPL() local
190 err = uv_os_get_passwd(&pwd); in TEST_IMPL()
193 err = uv_os_get_group(&grp, pwd.gid); in TEST_IMPL()
196 ASSERT_EQ(pwd.uid, (unsigned long) -1); in TEST_IMPL()
197 ASSERT_EQ(pwd.gid, (unsigned long) -1); in TEST_IMPL()
202 ASSERT_EQ(pwd.gid, grp.gid); in TEST_IMPL()
206 printf(" euid: %ld\n", pwd.uid); in TEST_IMPL()
207 printf(" gid: %ld (%s)\n", pwd.gid, grp.groupname); in TEST_IMPL()
215 printf(" username: %s\n", pwd.username); in TEST_IMPL()
216 if (pwd.shell != NULL) /* Not set on Windows */ in TEST_IMPL()
217 printf(" shell: %s\n", pwd.shell); in TEST_IMPL()
218 printf(" home directory: %s\n", pwd.homedir); in TEST_IMPL()
219 uv_os_free_passwd(&pwd); in TEST_IMPL()