Fossil SCM

Fix two failing test-cases

jan.nijtmans 2015-04-30 08:09 trunk
Commit 54bd013176c59cbecb8d26b1acc8b9b8bc967514
--- test/release-checklist.wiki
+++ test/release-checklist.wiki
@@ -3,11 +3,11 @@
33
This file describes the testing procedures for Fossil prior to an
44
official release.
55
66
<ol>
77
<li><p>
8
-From a private directory (not the source tree) run
8
+From a private directory (not the source tree) run
99
"<b>tclsh $SRC/test/tester.tcl $FOSSIL</b>" where $FOSSIL is the
1010
name of the executable under test and $SRC is the source tree.
1111
Verify that there are no errors.
1212
1313
<li><p>
1414
--- test/release-checklist.wiki
+++ test/release-checklist.wiki
@@ -3,11 +3,11 @@
3 This file describes the testing procedures for Fossil prior to an
4 official release.
5
6 <ol>
7 <li><p>
8 From a private directory (not the source tree) run
9 "<b>tclsh $SRC/test/tester.tcl $FOSSIL</b>" where $FOSSIL is the
10 name of the executable under test and $SRC is the source tree.
11 Verify that there are no errors.
12
13 <li><p>
14
--- test/release-checklist.wiki
+++ test/release-checklist.wiki
@@ -3,11 +3,11 @@
3 This file describes the testing procedures for Fossil prior to an
4 official release.
5
6 <ol>
7 <li><p>
8 From a private directory (not the source tree) run
9 "<b>tclsh $SRC/test/tester.tcl $FOSSIL</b>" where $FOSSIL is the
10 name of the executable under test and $SRC is the source tree.
11 Verify that there are no errors.
12
13 <li><p>
14
+2 -2
--- test/th1.test
+++ test/th1.test
@@ -42,16 +42,16 @@
4242
test th1-setting-4 {$RESULT eq {TH_ERROR: no value for setting "abc"}}
4343
4444
###############################################################################
4545
4646
fossil test-th-eval --open-config "setting autosync"
47
-test th1-setting-5 {$RESULT eq 0 || $RESULT eq 1}
47
+test th1-setting-5 {$RESULT eq 0 || $RESULT eq 1 || $RESULT eq "on"}
4848
4949
###############################################################################
5050
5151
fossil test-th-eval --open-config "setting -strict autosync"
52
-test th1-setting-6 {$RESULT eq 0 || $RESULT eq 1}
52
+test th1-setting-6 {$RESULT eq 0 || $RESULT eq 1 || $RESULT eq "on"}
5353
5454
###############################################################################
5555
5656
fossil test-th-eval --open-config "setting --"
5757
test th1-setting-7 {$RESULT eq \
5858
--- test/th1.test
+++ test/th1.test
@@ -42,16 +42,16 @@
42 test th1-setting-4 {$RESULT eq {TH_ERROR: no value for setting "abc"}}
43
44 ###############################################################################
45
46 fossil test-th-eval --open-config "setting autosync"
47 test th1-setting-5 {$RESULT eq 0 || $RESULT eq 1}
48
49 ###############################################################################
50
51 fossil test-th-eval --open-config "setting -strict autosync"
52 test th1-setting-6 {$RESULT eq 0 || $RESULT eq 1}
53
54 ###############################################################################
55
56 fossil test-th-eval --open-config "setting --"
57 test th1-setting-7 {$RESULT eq \
58
--- test/th1.test
+++ test/th1.test
@@ -42,16 +42,16 @@
42 test th1-setting-4 {$RESULT eq {TH_ERROR: no value for setting "abc"}}
43
44 ###############################################################################
45
46 fossil test-th-eval --open-config "setting autosync"
47 test th1-setting-5 {$RESULT eq 0 || $RESULT eq 1 || $RESULT eq "on"}
48
49 ###############################################################################
50
51 fossil test-th-eval --open-config "setting -strict autosync"
52 test th1-setting-6 {$RESULT eq 0 || $RESULT eq 1 || $RESULT eq "on"}
53
54 ###############################################################################
55
56 fossil test-th-eval --open-config "setting --"
57 test th1-setting-7 {$RESULT eq \
58

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button