Lines Matching refs:test
26 test (const char *input, const char *result) in test() function
45 result |= test ("/usr/lib", "/usr"); in do_test()
46 result |= test ("/usr/", "/"); in do_test()
47 result |= test ("usr", "."); in do_test()
48 result |= test ("/", "/"); in do_test()
49 result |= test (".", "."); in do_test()
50 result |= test ("..", "."); in do_test()
53 result |= test ("/usr/lib/", "/usr"); in do_test()
54 result |= test ("/usr", "/"); in do_test()
55 result |= test ("a//", "."); in do_test()
56 result |= test ("a////", "."); in do_test()
57 result |= test ("////usr", "/"); in do_test()
58 result |= test ("////usr//", "/"); in do_test()
59 result |= test ("//usr", "//"); in do_test()
60 result |= test ("//usr//", "//"); in do_test()
61 result |= test ("//", "//"); in do_test()
64 result |= test ("x///y", "x"); in do_test()
65 result |= test ("x/////y", "x"); in do_test()