21#include "gdbsupport/pathstuff.h"
22#include "gdbsupport/selftest.h"
32 const char *result = ::child_path (parent, child);
33 if (result == NULL || expected == NULL)
34 return result == expected;
35 return strcmp (result, expected) == 0;
66 selftests::register_test (
"child_path",
void _initialize_child_path_selftests()
static bool child_path_check(const char *parent, const char *child, const char *expected)