pwd2 35 maint/gnulib/tests/test-getcwd-lgpl.c char *pwd2; pwd2 53 maint/gnulib/tests/test-getcwd-lgpl.c pwd2 = getcwd (NULL, 0); pwd2 54 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (pwd2); pwd2 55 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (strcmp (pwd1, pwd2) == 0); pwd2 56 maint/gnulib/tests/test-getcwd-lgpl.c free (pwd2); pwd2 62 maint/gnulib/tests/test-getcwd-lgpl.c pwd2 = getcwd (NULL, len + 1); pwd2 63 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (pwd2); pwd2 64 maint/gnulib/tests/test-getcwd-lgpl.c free (pwd2); pwd2 65 maint/gnulib/tests/test-getcwd-lgpl.c pwd2 = malloc (len + 2); pwd2 70 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (getcwd (pwd2, i) == NULL); pwd2 85 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (getcwd (pwd2, len + 1) == pwd2); pwd2 86 maint/gnulib/tests/test-getcwd-lgpl.c pwd2[len] = '/'; pwd2 87 maint/gnulib/tests/test-getcwd-lgpl.c pwd2[len + 1] = '\0'; pwd2 89 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (strstr (pwd2, "/./") == NULL); pwd2 90 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (strstr (pwd2, "/../") == NULL); pwd2 91 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (strstr (pwd2 + 1 + (pwd2[1] == '/'), "//") == NULL); pwd2 95 maint/gnulib/tests/test-getcwd-lgpl.c ASSERT (getcwd(pwd2, 0) == NULL); pwd2 99 maint/gnulib/tests/test-getcwd-lgpl.c free (pwd2);