Home
last modified time | relevance | path

Searched refs:user4 (Results 1 - 4 of 4) sorted by relevance

/kernel/liteos_a/testsuites/unittest/libc/sys/full/
H A Dsys_test_020.cpp38 struct passwd *user4 = nullptr; in TestCase() local
81 user4 = getpwuid(200); in TestCase()
82 ICUNIT_GOTO_EQUAL(user4, nullptr, -1, ERROUT); in TestCase()
84 user4 = getpwuid(-100); in TestCase()
85 ICUNIT_GOTO_EQUAL(user4, nullptr, -1, ERROUT); in TestCase()
87 user4 = getpwuid(100000); in TestCase()
88 ICUNIT_GOTO_EQUAL(user4, nullptr, -1, ERROUT); in TestCase()
H A Dsys_test_018.cpp38 struct passwd *user4 = nullptr; in TestCase() local
82 user4 = getpwnam("lyw"); in TestCase()
83 ICUNIT_GOTO_EQUAL(user4, nullptr, -1, ERROUT); in TestCase()
85 user4 = getpwnam(""); in TestCase()
86 ICUNIT_GOTO_EQUAL(user4, nullptr, -1, ERROUT); in TestCase()
H A Dsys_test_019.cpp39 struct passwd *user4 = nullptr; in TestCase() local
94 ret = getpwnam_r("root", &pwd, buf2, sizeof(buf2), &user4); in TestCase()
96 ICUNIT_GOTO_EQUAL(user4, nullptr, -1, ERROUT); in TestCase()
H A Dsys_test_021.cpp39 struct passwd *user4 = nullptr; in TestCase() local
96 ret = getpwuid_r(0, &pwd, buf2, sizeof(buf2), &user4); in TestCase()
98 ICUNIT_GOTO_EQUAL(user4, nullptr, -1, ERROUT); in TestCase()

Completed in 2 milliseconds