Searched refs:executable_path (Results 1 – 2 of 2) sorted by relevance
104 char executable_path[PATH_MAX]; in TEST() local105 int rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); in TEST()107 executable_path[rc] = '\0'; in TEST()111 ASSERT_STREQ(executable_path, p); in TEST()114 ASSERT_STREQ(executable_path, p); in TEST()
310 char executable_path[PATH_MAX]; in TEST() local311 rc = readlink("/proc/self/exe", executable_path, sizeof(executable_path)); in TEST()313 executable_path[rc] = '\0'; in TEST()314 std::string executable_name(basename(executable_path)); in TEST()338 if (path != NULL && strcmp(executable_path, path) == 0) { in TEST()