Fossil

Check-in [ca6c8f9b]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Add a comment.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | settingsTest
Files: files | file ages | folders
SHA1:ca6c8f9be80531d8b16df26133e1a2d914c736c6
User & Date: mistachkin 2016-08-23 17:21:46
Context
2016-08-23
17:30
Add extensive tests for the 'settings' and 'unset' commands. Also, add --exact option to the 'settings' / 'unset' commands. check-in: 816bc43b user: mistachkin tags: trunk
17:21
Add a comment. Closed-Leaf check-in: ca6c8f9b user: mistachkin tags: settingsTest
02:19
Add another test to check the value of each versionable setting after it is written. check-in: 46228ffb user: mistachkin tags: settingsTest
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/settings-repo.test.

17
18
19
20
21
22
23









24
25
26
27
28
29
30
#
# The "settings" and "unset" commands that may modify the repository.
#

require_no_open_checkout
set dir [file dirname [info script]]; test_setup










###############################################################################

set all_settings [get_all_settings]

foreach name $all_settings {
  #
  # HACK: Make 100% sure that there are no non-default setting values







>
>
>
>
>
>
>
>
>







17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# The "settings" and "unset" commands that may modify the repository.
#

require_no_open_checkout
set dir [file dirname [info script]]; test_setup

###############################################################################
#
# Complete syntax as tested:
#
#     fossil settings ?PROPERTY? ?VALUE? ?OPTIONS?
#     fossil unset PROPERTY ?OPTIONS?
#
# Where the only supported options are "--global" and "--exact".
#
###############################################################################

set all_settings [get_all_settings]

foreach name $all_settings {
  #
  # HACK: Make 100% sure that there are no non-default setting values