Home | History | Annotate | Download | only in tests

Lines Matching refs:getcwd

23 TEST(getcwd, auto_full) {
26 char* cwd = getcwd(NULL, 0);
33 TEST(getcwd, auto_reasonable) {
36 char* cwd = getcwd(NULL, PATH_MAX);
43 TEST(getcwd, auto_too_small) {
46 char* cwd = getcwd(NULL, 1);
51 TEST(getcwd, auto_too_large) {
54 char* cwd = getcwd(NULL, static_cast<size_t>(-1));
59 TEST(getcwd, manual_too_small) {
63 char* cwd = getcwd(tiny_buf, sizeof(tiny_buf));
68 TEST(getcwd, manual_zero) {
72 char* cwd = getcwd(tiny_buf, 0);
77 TEST(getcwd, manual_path_max) {
80 char* cwd = getcwd(buf, PATH_MAX);