Fossil Forum

Errors in test-framework-settings
Login

Errors in test-framework-settings

Errors in test-framework-settings

(1) By anonymous on 2021-09-27 11:06:23 [source]

The test cases

  • test settings-valid-local-email-renew-interval
  • test test settings-valid-local-max-cache-entry

in settings.test are failing because they are not returned by get_all_settings in tester.tcl.

It seems the email-renew-interval setting was merged into trunk by 34d45c55b9 and max-cache-entry was added in e0ebe6f033.

This change makes the tests pass:

Index: test/tester.tcl
==================================================================
--- test/tester.tcl
+++ test/tester.tcl
@@ -305,10 +305,11 @@
       diff-command \
       dont-push \
       dotfiles \
       editor \
       email-admin \
+      email-renew-interval \
       email-self \
       email-send-command \
       email-send-db \
       email-send-dir \
       email-send-method \
@@ -331,10 +332,11 @@
       localauth \
       lock-timeout \
       main-branch \
       mainmenu \
       manifest \
+      max-cache-entry \
       max-loadavg \
       max-upload \
       mimetypes \
       mtime-changes \
       pgp-command \

(2) By Stephan Beal (stephan) on 2021-09-27 14:31:40 in reply to 1 [link] [source]

This change makes the tests pass:

This and the md_rules typo in the changelog have just bee fixed. Thank you for the report(s?).