Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch rkb-2.0-tests Excluding Merge-Ins
This is equivalent to a diff from 66807d3029 to f955c632c4
|
2017-03-14
| ||
| 01:55 | Merge in small fixes to the test suite and plan to continue improving the suite in the trunk. Also kludge login.c on MinGW which has no strtok_r() available in its libc by supplying a public domain one. There certainly is a better way to deal with this, but this unbreaks the build on Windows broken by [315cf2436]. ... (check-in: 93d52a010f user: rberteig tags: trunk) | |
|
2017-03-13
| ||
| 23:28 | Correct filename title in comment for man_page_command_list.tcl ... (check-in: 260e3c750d user: andygoth tags: trunk) | |
| 22:24 | Merged from trunk for testing before pushing back to trunk. ... (Closed-Leaf check-in: f955c632c4 user: rberteig tags: rkb-2.0-tests) | |
| 21:53 | Merged from trunk to verify fix in [62352847]. ... (check-in: 4077357a38 user: rberteig tags: rkb-2.0-tests) | |
| 20:47 | Fix a obsolete comment related to updating the CHECK constraint on the BLOB table when moving up to version 2.0 or later. ... (check-in: 66807d3029 user: drh tags: trunk) | |
|
2017-03-12
| ||
| 23:32 | More refactoring of "control artifact" to "structural artifact". Also improve the wording. All in the selfcheck document. ... (check-in: 43c3d95a31 user: drh tags: trunk) | |
Changes to test/json.test.
| ︙ | ︙ | |||
747 748 749 750 751 752 753 |
procTimeMs resultCode resultText} {payload}
test json-env-RC-1102-code {[dict get $JR resultCode] eq "FOSSIL-1102"}
# FOSSIL-1103 FSL_JSON_E_UNKNOWN
# Unknown error
| | | < > | | 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 |
procTimeMs resultCode resultText} {payload}
test json-env-RC-1102-code {[dict get $JR resultCode] eq "FOSSIL-1102"}
# FOSSIL-1103 FSL_JSON_E_UNKNOWN
# Unknown error
#write_file bad.sql {
#CREATE TABLE spam(a integer, b text);
#}
#exec $::fossilexe sqlite3 --no-repository bad.fossil <bad.sql
#fossil_json HAI -R bad.fossil -expectError
# FOSSIL-1104 FSL_JSON_E_TIMEOUT
# Timeout reached
# FOSSIL-1105 FSL_JSON_E_ASSERT
# Assertion failed
# FOSSIL-1106 FSL_JSON_E_ALLOC
|
| ︙ | ︙ |
Changes to test/wiki.test.
| ︙ | ︙ | |||
19 20 21 22 23 24 25 |
#
test_setup
# Return true if two files are similar (i.e. not only compress trailing spaces
# from a line, but remove any final LF from the file as well)
proc similar_file {a b} {
| > > | | | > > > | | | > | 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
#
test_setup
# Return true if two files are similar (i.e. not only compress trailing spaces
# from a line, but remove any final LF from the file as well)
proc similar_file {a b} {
set x ""
if {[file exists $a]} {
set x [read_file $a]
regsub -all { +\n} $x \n x
regsub -all {\n$} $x {} x
}
set y ""
if {[file exists $b]} {
set y [read_file $b]
regsub -all { +\n} $y \n y
regsub -all {\n$} $y {} y
}
return [expr {$x==$y}]
}
# Return the mime type in the manifest for a given wiki page
# Defaults to "error: some text" if the manifest can't be located and
# "text/x-fossil-wiki" (the default mimetype for rendering)
# if the N card is omitted in the manifest.
|
| ︙ | ︙ |