Index: openacs-4/packages/acs-automated-testing/tcl/aa-test-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-automated-testing/tcl/aa-test-procs.tcl,v diff -u -r1.38 -r1.39 --- openacs-4/packages/acs-automated-testing/tcl/aa-test-procs.tcl 17 Sep 2009 15:57:01 -0000 1.38 +++ openacs-4/packages/acs-automated-testing/tcl/aa-test-procs.tcl 27 Oct 2014 16:39:02 -0000 1.39 @@ -56,7 +56,7 @@ # If a stub for this procedure hasn't already been defined, take a copy # of the original procedure and add it to the aa_stub_names list. # - if {[lsearch -exact $aa_stub_names $proc_name] == -1} { + if {$proc_name ni $aa_stub_names} { lappend aa_stub_names $proc_name proc ${proc_name}_unstubbed [info args $proc_name] [info body $proc_name] } @@ -144,7 +144,7 @@ # # Work out the package key # - set package_root [file join [acs_root_dir] packages] + set package_root [file join $::acs::rootdir packages] set package_rel [string replace [info script] \ 0 [string length $package_root]] if {![info exists package_key]} { @@ -215,7 +215,7 @@ # # Work out the package key # - set package_root [file join [acs_root_dir] packages] + set package_root [file join $::acs::rootdir packages] set package_rel [string replace [info script] \ 0 [string length $package_root]] set package_key [lindex [file split $package_rel] 0] @@ -309,7 +309,7 @@ @param cats Properties of the test case. Must be zero or more of the following: