Home
last modified time | relevance | path

Searched refs:pwd2 (Results 1 – 1 of 1) sorted by relevance

/libuv/test/
H A Dtest-get-passwd.c111 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()
129 ASSERT_STR_EQ(pwd.shell, pwd2.shell); 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()
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()
[all …]

Completed in 4 milliseconds