Fossil

Check-in [54bd013176]
Login

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

Overview
Comment:Fix two failing test-cases
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 54bd013176c59cbecb8d26b1acc8b9b8bc967514
User & Date: jan.nijtmans 2015-04-30 08:09:20.837
Context
2015-04-30
19:52
Allow the /rptview page to select a report using a GLOB pattern on its name and the title= query parameter. check-in: 6f212b5ffd user: drh tags: trunk
08:35
Eliminate last argument of vfile_dir_scan(), since it's always 0. Don't need to prompt before removing empty dirs, as "empty-dirs" already specifies which dirs need to be kept. check-in: 0db0fdb27e user: jan.nijtmans tags: noDirPrompt
08:09
Fix two failing test-cases check-in: 54bd013176 user: jan.nijtmans tags: trunk
04:47
Minor correction to comment, no functional changes. check-in: 281c67c41d user: andybradford tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to test/release-checklist.wiki.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<title>Release Checklist</title>

This file describes the testing procedures for Fossil prior to an
official release.

<ol>
<li><p>
From a private directory (not the source tree) run 
"<b>tclsh $SRC/test/tester.tcl $FOSSIL</b>" where $FOSSIL is the
name of the executable under test and $SRC is the source tree.
Verify that there are no errors.

<li><p>
Click on each of the links in in the
[./graph-test-1.wiki] document and verify that all graphs are







|







1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<title>Release Checklist</title>

This file describes the testing procedures for Fossil prior to an
official release.

<ol>
<li><p>
From a private directory (not the source tree) run
"<b>tclsh $SRC/test/tester.tcl $FOSSIL</b>" where $FOSSIL is the
name of the executable under test and $SRC is the source tree.
Verify that there are no errors.

<li><p>
Click on each of the links in in the
[./graph-test-1.wiki] document and verify that all graphs are
Changes to test/th1.test.
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

fossil test-th-eval --open-config "setting -strict -- abc"
test th1-setting-4 {$RESULT eq {TH_ERROR: no value for setting "abc"}}

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

fossil test-th-eval --open-config "setting autosync"
test th1-setting-5 {$RESULT eq 0 || $RESULT eq 1}

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

fossil test-th-eval --open-config "setting -strict autosync"
test th1-setting-6 {$RESULT eq 0 || $RESULT eq 1}

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

fossil test-th-eval --open-config "setting --"
test th1-setting-7 {$RESULT eq \
{TH_ERROR: wrong # args: should be "setting ?-strict? ?--? name"}}








|




|







40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59

fossil test-th-eval --open-config "setting -strict -- abc"
test th1-setting-4 {$RESULT eq {TH_ERROR: no value for setting "abc"}}

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

fossil test-th-eval --open-config "setting autosync"
test th1-setting-5 {$RESULT eq 0 || $RESULT eq 1 || $RESULT eq "on"}

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

fossil test-th-eval --open-config "setting -strict autosync"
test th1-setting-6 {$RESULT eq 0 || $RESULT eq 1 || $RESULT eq "on"}

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

fossil test-th-eval --open-config "setting --"
test th1-setting-7 {$RESULT eq \
{TH_ERROR: wrong # args: should be "setting ?-strict? ?--? name"}}