pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:11413:
test_eq([[combine_path("foo/", "../bar")]],"bar") test_eq([[combine_path("foo/", "../bar/")]],"bar/") test_eq([[combine_path("foo/.", "../bar")]],"bar") test_eq([[combine_path("foo", "..")]],".") test_eq([[combine_path("foo/", "..")]],".") test_eq([[combine_path("foo/.", "..")]],".") test_eq([[combine_path(".", "bar")]],"bar") test_eq([[combine_path("./", "bar")]],"bar") test_eq([[combine_path(".", "../bar")]],"../bar") test_eq([[combine_path("./", "../bar")]],"../bar")
+
test_eq([[combine_path("./bar")]],"bar")
+
test_eq([[combine_path("./bar")]],"bar")
+
test_eq([[combine_path("./../bar")]],"../bar")
// - combine_path_nt test_eq([[combine_path_nt("/","/fo\1111/bar/gazonk/../../")]],"/fo\1111/") test_eq([[combine_path_nt("a:/","/fo\1111/bar/gazonk/../../")]],"a:/fo\1111/") test_eq([[combine_path_nt("a:/", "/foo","bar")+combine_path_nt("/foo","bar")]], "a:/foo/bar/foo/bar") // - combine_path_unix test_eq([[combine_path_unix("/","/fo\1111/bar/gazonk/../../")]],"/fo\1111/")