Index: openacs-4/packages/acs-automated-testing/www/admin/testcase.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-automated-testing/www/admin/testcase.adp,v diff -u -r1.16.2.3 -r1.16.2.4 --- openacs-4/packages/acs-automated-testing/www/admin/testcase.adp 2 Dec 2016 16:12:11 -0000 1.16.2.3 +++ openacs-4/packages/acs-automated-testing/www/admin/testcase.adp 5 Dec 2016 11:33:15 -0000 1.16.2.4 @@ -43,7 +43,7 @@ @@ -115,7 +115,7 @@ Index: openacs-4/packages/acs-automated-testing/www/admin/testcase.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-automated-testing/www/admin/testcase.tcl,v diff -u -r1.13.2.4 -r1.13.2.5 --- openacs-4/packages/acs-automated-testing/www/admin/testcase.tcl 2 Dec 2016 16:16:53 -0000 1.13.2.4 +++ openacs-4/packages/acs-automated-testing/www/admin/testcase.tcl 5 Dec 2016 11:33:15 -0000 1.13.2.5 @@ -107,6 +107,8 @@ {absolute_file_path $testcase_file} }] +set rerun_url [export_vars -base rerun {testcase_id package_key quiet {return_url [ad_return_url]}}] + if {$return_url eq ""} { set return_url [export_vars -base . { { view_by testcase } quiet { by_package_key $package_key } }] }