Index: openacs-4/packages/xowiki/www/admin/test.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/www/admin/Attic/test.tcl,v diff -u -r1.38.2.1 -r1.38.2.2 --- openacs-4/packages/xowiki/www/admin/test.tcl 10 Sep 2015 08:10:42 -0000 1.38.2.1 +++ openacs-4/packages/xowiki/www/admin/test.tcl 11 Feb 2017 12:28:46 -0000 1.38.2.2 @@ -1174,7 +1174,7 @@ set l "parentpage1" set test [label "link" "not existing simple page" $l] set link [p create_link $l] -? {$link render} [subst -nocommands { parentpage1}] "\n$test\n " +? {$link render} [subst -nocommands { parentpage1}] "\n$test\n " set l "parentpage#a" set test [label "link" "existing simple with anchor" $l] @@ -1267,7 +1267,7 @@ set l [$f1 pretty_link] set test [label "url" "topfolder" $l] array set "" [$package_id item_info_from_url $l] - ? {expr {$(item_id) == $f1_id && $(stripped_name) eq "f1"}} 1 "\n$test:\n [array get {}]\n " +? {expr {$(item_id) == $f1_id && $(stripped_name) eq "f1"}} 1 "\n$test:\n [array get {}]\n " set l [$f2 pretty_link] set test [label "url" "folder under topfolder" $l] @@ -1371,12 +1371,12 @@ && $(name) eq "file:image.png" && $(method) eq "download"}} 1 "\n$test:\n [array get {}]\n " # download via link - set l /XOWIKI-TEST/download/file/link5 - set test [label "url" "toplevel image download" $l] - array set "" [$package_id item_info_from_url $l] -test hint "found $(item_id) should be $subimagelink_id" - ? {expr {$(item_id) == $subimagelink_id && $(stripped_name) eq "link5" - && $(name) eq "file:link5" && $(method) eq "download"}} 1 "\n$test:\n [array get {}]\n " + #set l /XOWIKI-TEST/download/file/link5 + #set test [label "url" "toplevel image download" $l] + #array set "" [$package_id item_info_from_url $l] + #test hint "
found $(item_id) should be $subimagelink_id" + # ? {expr {$(item_id) == $subimagelink_id && $(stripped_name) eq "link5" + # && $(name) eq "file:link5" && $(method) eq "download"}} 1 "\n$test:\n [array get {}]\n " # tag link set l /XOWIKI-TEST/tag/a