pike.git
/
src
/
testsuite.in
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/testsuite.in:1:
-
test_true([["$Id: testsuite.in,v 1.
723
2004/05/01
12
:
19
:
40
nilsson
Exp $"]]);
+
test_true([["$Id: testsuite.in,v 1.
724
2004/05/01
14
:
51
:
59
mast
Exp $"]]);
// This triggered a bug only if run sufficiently early. test_compile_any([[#pike 7.2]]) test_compile_any([[#pike 7.4]]) test_compile_any([[#pike 7.0]]) test_compile_any([[#pike 0.6]]) cond([[all_constants()->_verify_internals]], [[ test_do(_verify_internals())
pike.git/src/testsuite.in:8519:
test_eq([[combine_path("./.","..")]],"..") test_eq([[combine_path("/","../../foo")]],"/foo") test_eq([[combine_path("./foobar/.","..")]],".") test_eq([[combine_path("/","foo","bar","gazonk")]],"/foo/bar/gazonk") test_eq([[combine_path("/", "foo", "")]], "/foo/") test_eq([[combine_path("/","/foo/bar/ga\11111zonk/../../")]],"/foo/") test_eq([[combine_path("/","/fo\1111/bar/ga\11111zonk/../../")]],"/fo\1111/") test_eq([[combine_path("/","/fo\1111/bar/gazonk/../../")]],"/fo\1111/")
+
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/.", "../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")
+
// - 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/") // - compile