Fossil

Check-in [6502627a]
Login

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

Overview
Comment:Exclude directories from file tests in the test suite. Fix an error in the release checklist.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk | release
Files: files | file ages | folders
SHA1:6502627a3ec4b6782a572f61855659a4c41be875
User & Date: drh 2011-02-08 12:52:37
Original Comment: Exclude directories from file tests in the test suite. Fix an error in the release checklist.
References
2011-02-08
15:13 New ticket [26636a30] Case sensitive usernames are bad. artifact: e8443032 user: anonymous
Context
2011-02-08
14:28
Add the --nested option to the "open" command to allow checkouts from one repository to be created inside the checkout of another respository. check-in: f15943f3 user: drh tags: trunk
12:52
Exclude directories from file tests in the test suite. Fix an error in the release checklist. check-in: 6502627a user: drh tags: trunk, release
2011-02-07
20:59
Transfer the content of the ignore-glob setting as part of the "proj" configuration. Ticket [1b5773eed1758a03a]. check-in: 7bb3db9b user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to test/delta1.test.

23
24
25
26
27
28
29

30
31
32
33
34
35
36
37
38
# For each test, copy the file intact to "./t1".  Make
# some random changes in "./t2".  Then call test-delta on the
# two files to make sure that deltas between these two files
# work properly.
#
set filelist [glob $testdir/*]
foreach f $filelist {

  set base [file root [file tail $f]]
protOut "base=$base f=$f"
  set f1 [read_file $f]
  write_file t1 $f1
  for {set i 0} {$i<100} {incr i} {
    write_file t2 [random_changes $f1 1 1 0 0.1]
    fossil test-delta t1 t2
    test delta-$base-$i-1 {$RESULT=="ok"}
    write_file t2 [random_changes $f1 1 1 0 0.2]







>

<







23
24
25
26
27
28
29
30
31

32
33
34
35
36
37
38
# For each test, copy the file intact to "./t1".  Make
# some random changes in "./t2".  Then call test-delta on the
# two files to make sure that deltas between these two files
# work properly.
#
set filelist [glob $testdir/*]
foreach f $filelist {
  if {[file isdir $f]} continue
  set base [file root [file tail $f]]

  set f1 [read_file $f]
  write_file t1 $f1
  for {set i 0} {$i<100} {incr i} {
    write_file t2 [random_changes $f1 1 1 0 0.1]
    fossil test-delta t1 t2
    test delta-$base-$i-1 {$RESULT=="ok"}
    write_file t2 [random_changes $f1 1 1 0 0.2]

Changes to test/merge2.test.

16
17
18
19
20
21
22

23
24
25
26
27
28
29
############################################################################
#
# Tests of the delta mechanism.
#

set filelist [glob $testdir/*]
foreach f $filelist {

  set base [file root [file tail $f]]
  set f1 [read_file $f]
  write_file t1 $f1
  for {set i 0} {$i<100} {incr i} {
    expr {srand($i*2)}
    write_file t2 [set f2 [random_changes $f1 2 4 0 0.1]]
    expr {srand($i*2+1)}







>







16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
############################################################################
#
# Tests of the delta mechanism.
#

set filelist [glob $testdir/*]
foreach f $filelist {
  if {[file isdir $f]} continue
  set base [file root [file tail $f]]
  set f1 [read_file $f]
  write_file t1 $f1
  for {set i 0} {$i<100} {incr i} {
    expr {srand($i*2)}
    write_file t2 [set f2 [random_changes $f1 2 4 0 0.1]]
    expr {srand($i*2+1)}

Changes to test/release-checklist.wiki.

2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

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 $FOSSIL $SRC/test/tester.tcl</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
rendered correctly.







|







2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

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
rendered correctly.