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