xref: /illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/tst.cleanpath.d.out (revision 89b2a9fbeabf42fa54594df0e5927bcc50a07cc9)
1cleanpath("/foo/bar/baz") = "/foo/bar/baz"
2cleanpath("/foo/bar///baz/") = "/foo/bar/baz/"
3cleanpath("/foo/bar/baz/") = "/foo/bar/baz/"
4cleanpath("/foo/bar/baz//") = "/foo/bar/baz/"
5cleanpath("/foo/bar/baz/.") = "/foo/bar/baz/."
6cleanpath("/foo/bar/baz/./") = "/foo/bar/baz/"
7cleanpath("/foo/bar/../../baz/.//") = "/baz/"
8cleanpath("foo/bar/./././././baz/") = "foo/bar/baz/"
9cleanpath("/foo/bar/baz/../../../../../../") = "/"
10cleanpath("/../../../../../../") = "/"
11cleanpath("/./") = "/"
12cleanpath("/foo/bar/baz/../../bop/bang/../../bar/baz/") = "/foo/bar/baz/"
13cleanpath("./") = "./"
14cleanpath("//") = "/"
15cleanpath("/.") = "/."
16cleanpath("/./") = "/"
17cleanpath("/./.") = "/."
18cleanpath("/.//") = "/"
19cleanpath(".") = "."
20cleanpath("/////") = "/"
21cleanpath("") = ""
22
23