Index: openacs-4/packages/acs-templating/acs-templating.info
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/acs-templating.info,v
diff -u -r1.66.2.47 -r1.66.2.48
--- openacs-4/packages/acs-templating/acs-templating.info 8 Aug 2024 12:55:15 -0000 1.66.2.47
+++ openacs-4/packages/acs-templating/acs-templating.info 25 Aug 2024 12:30:28 -0000 1.66.2.48
@@ -9,7 +9,7 @@
f
t
-
+
OpenACS
Templating library.
2022-11-20
@@ -27,9 +27,10 @@
GPL version 2
3
-
+
+
Index: openacs-4/packages/acs-templating/tcl/test/acs-integration-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/test/acs-integration-procs.tcl,v
diff -u -r1.1.2.4 -r1.1.2.5
--- openacs-4/packages/acs-templating/tcl/test/acs-integration-procs.tcl 8 Feb 2024 18:14:41 -0000 1.1.2.4
+++ openacs-4/packages/acs-templating/tcl/test/acs-integration-procs.tcl 25 Aug 2024 12:30:28 -0000 1.1.2.5
@@ -28,7 +28,9 @@
nsv_incr __acs-templating-test-ad-return-exception-template count
}
- set d [ns_http run -method GET $url]
+ aa_silence_log_entries -severities {error} {
+ set d [ns_http run -method GET $url]
+ }
acs::test::reply_has_status_code $d 500
aa_false "No code was executed after returning" \
@@ -50,7 +52,9 @@
nsv_incr __acs-templating-test-ad-return-exception-template count
}
- set d [ns_http run -method GET $url]
+ aa_silence_log_entries -severities {error} {
+ set d [ns_http run -method GET $url]
+ }
acs::test::reply_has_status_code $d 404
aa_false "No code was executed after returning" \
@@ -137,4 +141,3 @@
[acs_root_dir]/packages/acs-automated-testing/www/AD-RETURN-TEMPLATE-TEST.tcl
}
}
-
Index: openacs-4/packages/acs-templating/tcl/test/data-procs.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/test/data-procs.tcl,v
diff -u -r1.1.2.30 -r1.1.2.31
--- openacs-4/packages/acs-templating/tcl/test/data-procs.tcl 26 Nov 2022 16:52:03 -0000 1.1.2.30
+++ openacs-4/packages/acs-templating/tcl/test/data-procs.tcl 25 Aug 2024 12:30:28 -0000 1.1.2.31
@@ -331,8 +331,10 @@
set message ""
foreach {value expected} $values {
- aa_$expected "Is $value a file?" \
- [template::data::validate file value message]
+ aa_silence_log_entries -severities [expr {$expected eq "false" ? "warning" : ""}] {
+ aa_$expected "Is $value a file?" \
+ [template::data::validate file value message]
+ }
}
ad_file delete $tmpfile
}