xref: /illumos-gate/usr/src/cmd/dtrace/test/tst/common/funcs/tst.cleanpath.d.out (revision 34a0f871d192b33b865455a8812a3d34c1866315)
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