Fossil SCM
Exclude directories from file tests in the test suite. Fix an error in the release checklist.
Commit
6502627a3ec4b6782a572f61855659a4c41be875
Parent
7bb3db9b64b8c40…
3 files changed
+1
-1
+1
+1
-1
+1
-1
| --- test/delta1.test | ||
| +++ test/delta1.test | ||
| @@ -25,12 +25,12 @@ | ||
| 25 | 25 | # two files to make sure that deltas between these two files |
| 26 | 26 | # work properly. |
| 27 | 27 | # |
| 28 | 28 | set filelist [glob $testdir/*] |
| 29 | 29 | foreach f $filelist { |
| 30 | + if {[file isdir $f]} continue | |
| 30 | 31 | set base [file root [file tail $f]] |
| 31 | -protOut "base=$base f=$f" | |
| 32 | 32 | set f1 [read_file $f] |
| 33 | 33 | write_file t1 $f1 |
| 34 | 34 | for {set i 0} {$i<100} {incr i} { |
| 35 | 35 | write_file t2 [random_changes $f1 1 1 0 0.1] |
| 36 | 36 | fossil test-delta t1 t2 |
| 37 | 37 |
| --- test/delta1.test | |
| +++ test/delta1.test | |
| @@ -25,12 +25,12 @@ | |
| 25 | # two files to make sure that deltas between these two files |
| 26 | # work properly. |
| 27 | # |
| 28 | set filelist [glob $testdir/*] |
| 29 | foreach f $filelist { |
| 30 | set base [file root [file tail $f]] |
| 31 | protOut "base=$base f=$f" |
| 32 | set f1 [read_file $f] |
| 33 | write_file t1 $f1 |
| 34 | for {set i 0} {$i<100} {incr i} { |
| 35 | write_file t2 [random_changes $f1 1 1 0 0.1] |
| 36 | fossil test-delta t1 t2 |
| 37 |
| --- test/delta1.test | |
| +++ test/delta1.test | |
| @@ -25,12 +25,12 @@ | |
| 25 | # two files to make sure that deltas between these two files |
| 26 | # work properly. |
| 27 | # |
| 28 | set filelist [glob $testdir/*] |
| 29 | foreach f $filelist { |
| 30 | if {[file isdir $f]} continue |
| 31 | set base [file root [file tail $f]] |
| 32 | set f1 [read_file $f] |
| 33 | write_file t1 $f1 |
| 34 | for {set i 0} {$i<100} {incr i} { |
| 35 | write_file t2 [random_changes $f1 1 1 0 0.1] |
| 36 | fossil test-delta t1 t2 |
| 37 |
+1
| --- test/merge2.test | ||
| +++ test/merge2.test | ||
| @@ -18,10 +18,11 @@ | ||
| 18 | 18 | # Tests of the delta mechanism. |
| 19 | 19 | # |
| 20 | 20 | |
| 21 | 21 | set filelist [glob $testdir/*] |
| 22 | 22 | foreach f $filelist { |
| 23 | + if {[file isdir $f]} continue | |
| 23 | 24 | set base [file root [file tail $f]] |
| 24 | 25 | set f1 [read_file $f] |
| 25 | 26 | write_file t1 $f1 |
| 26 | 27 | for {set i 0} {$i<100} {incr i} { |
| 27 | 28 | expr {srand($i*2)} |
| 28 | 29 |
| --- test/merge2.test | |
| +++ test/merge2.test | |
| @@ -18,10 +18,11 @@ | |
| 18 | # Tests of the delta mechanism. |
| 19 | # |
| 20 | |
| 21 | set filelist [glob $testdir/*] |
| 22 | foreach f $filelist { |
| 23 | set base [file root [file tail $f]] |
| 24 | set f1 [read_file $f] |
| 25 | write_file t1 $f1 |
| 26 | for {set i 0} {$i<100} {incr i} { |
| 27 | expr {srand($i*2)} |
| 28 |
| --- test/merge2.test | |
| +++ test/merge2.test | |
| @@ -18,10 +18,11 @@ | |
| 18 | # Tests of the delta mechanism. |
| 19 | # |
| 20 | |
| 21 | set filelist [glob $testdir/*] |
| 22 | foreach f $filelist { |
| 23 | if {[file isdir $f]} continue |
| 24 | set base [file root [file tail $f]] |
| 25 | set f1 [read_file $f] |
| 26 | write_file t1 $f1 |
| 27 | for {set i 0} {$i<100} {incr i} { |
| 28 | expr {srand($i*2)} |
| 29 |
+1
-1
| --- test/release-checklist.wiki | ||
| +++ test/release-checklist.wiki | ||
| @@ -4,11 +4,11 @@ | ||
| 4 | 4 | official release. |
| 5 | 5 | |
| 6 | 6 | <ol> |
| 7 | 7 | <li><p> |
| 8 | 8 | From a private directory (not the source tree) run |
| 9 | -"<b>tclsh $FOSSIL $SRC/test/tester.tcl</b>" where $FOSSIL is the | |
| 9 | +"<b>tclsh $SRC/test/tester.tcl $FOSSIL</b>" where $FOSSIL is the | |
| 10 | 10 | name of the executable under test and $SRC is the source tree. |
| 11 | 11 | Verify that there are no errors. |
| 12 | 12 | |
| 13 | 13 | <li><p> |
| 14 | 14 | Click on each of the links in in the |
| 15 | 15 |
| --- test/release-checklist.wiki | |
| +++ test/release-checklist.wiki | |
| @@ -4,11 +4,11 @@ | |
| 4 | official release. |
| 5 | |
| 6 | <ol> |
| 7 | <li><p> |
| 8 | From a private directory (not the source tree) run |
| 9 | "<b>tclsh $FOSSIL $SRC/test/tester.tcl</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 | Click on each of the links in in the |
| 15 |
| --- test/release-checklist.wiki | |
| +++ test/release-checklist.wiki | |
| @@ -4,11 +4,11 @@ | |
| 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 | Click on each of the links in in the |
| 15 |