Index: openacs-4/etc/install/install.sh =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/install/install.sh,v diff -u -r1.33 -r1.34 --- openacs-4/etc/install/install.sh 19 Nov 2003 15:26:10 -0000 1.33 +++ openacs-4/etc/install/install.sh 19 Nov 2003 16:46:04 -0000 1.34 @@ -210,6 +210,7 @@ admin_password=`get_config_param admin_password` aolserver_config_file=`get_config_param aolserver_config_file` install_xml_file=`get_config_param install_xml_file` +tclwebtest_scripts=`get_config_param tclwebtest_scripts` # If pre/post checkout scripts have been provided, check that they can # be executed @@ -562,8 +563,20 @@ echo "$(date): Beginning 'vacuum analyze'." su `get_config_param pg_db_user` -c "export LD_LIBRARY_PATH=${pg_bindir}/../lib; ${pg_bindir}/vacuumdb -p $pg_port -z $db_name" fi - + #------------------------------------------------------------------- + # Run any additional tclwebtest scripts + if [ -n "$tclwebtest_scripts" ]; then + echo "$(date): Running additional tclwebtest scripts" + + for tclwebtest_script_path in $tclwebtest_scripts + do + echo "$(date): Running tclwebtest script $tclwebtest_script_path" + ${tclwebtest_dir}/tclwebtest -config_file $config_file $tclwebtest_script_path + done + fi + + #------------------------------------------------------------------- # Warn about errors in the HTML returned from the server ./warn-if-installation-errors.sh `get_config_param install_output_file` @@ -604,4 +617,3 @@ admin password: $admin_password ######################################################################" fi - Index: openacs-4/etc/install/install.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/etc/install/install.tcl,v diff -u -r1.14 -r1.15 --- openacs-4/etc/install/install.tcl 19 Nov 2003 16:44:58 -0000 1.14 +++ openacs-4/etc/install/install.tcl 19 Nov 2003 16:46:04 -0000 1.15 @@ -257,3 +257,10 @@ # Should links be crawled to search for broken pages? This doesn't quite work! set crawl_links "no" + +#---------------------------------------------------------------------- +# HTTP level testing and demo data setup with tclwebtest +#---------------------------------------------------------------------- +# A list of full paths for any additional tclwebtest scripts that should +# be executed after install +set tclwebtest_scripts ""