Lines Matching refs:test
105 assert_se(endswith(p, "/test-path-util"));
209 #define test(from_dir, to_path, expected) { \
215 test("/", "/", ".");
216 test("/", "/some/path", "some/path");
217 test("/some/path", "/some/path", ".");
218 test("/some/path", "/some/path/in/subdir", "in/subdir");
219 test("/some/path", "/", "../..");
220 test("/some/path", "/some/other/path", "../other/path");
221 test("//extra/////slashes///won't////fool///anybody//", "////extra///slashes////are/just///fine///", "../../../are/just/fine");
225 char tmp_dir[] = "/tmp/test-path-util-XXXXXX";
301 char tmp_dir[] = "/tmp/test-path-is-mount-point-XXXXXX";
431 printf("Skipping bind mount file test: %m\n");