Fossil SCM
No need to re-open repository in json tests.
Commit
41c35fb6e2cea4c9bab55cb318294a0afcd604f7809eb6b743c6dd249100dc3c
Parent
211f170c1353bc4…
1 file changed
-1
-1
| --- test/json.test | ||
| +++ test/json.test | ||
| @@ -895,11 +895,10 @@ | ||
| 895 | 895 | fossil_json HAI -expectError |
| 896 | 896 | test json-RC-4102-CLI-exit {$CODE != 0} |
| 897 | 897 | test_json_envelope json-RC-4102-CLI-exit {fossil timestamp command procTimeUs \ |
| 898 | 898 | procTimeMs resultCode resultText} {payload} |
| 899 | 899 | test json-RC-4102 {[dict get $JR resultCode] eq "FOSSIL-4102"} |
| 900 | -fossil open .rep.fossil | |
| 901 | 900 | |
| 902 | 901 | # FOSSIL-4103 FSL_JSON_E_DB_NOT_VALID |
| 903 | 902 | # Fossil repository db file is not valid. |
| 904 | 903 | write_file nope.fossil { |
| 905 | 904 | This is not a fossil repo. It ought to be a SQLite db with a well-known schema, |
| 906 | 905 |
| --- test/json.test | |
| +++ test/json.test | |
| @@ -895,11 +895,10 @@ | |
| 895 | fossil_json HAI -expectError |
| 896 | test json-RC-4102-CLI-exit {$CODE != 0} |
| 897 | test_json_envelope json-RC-4102-CLI-exit {fossil timestamp command procTimeUs \ |
| 898 | procTimeMs resultCode resultText} {payload} |
| 899 | test json-RC-4102 {[dict get $JR resultCode] eq "FOSSIL-4102"} |
| 900 | fossil open .rep.fossil |
| 901 | |
| 902 | # FOSSIL-4103 FSL_JSON_E_DB_NOT_VALID |
| 903 | # Fossil repository db file is not valid. |
| 904 | write_file nope.fossil { |
| 905 | This is not a fossil repo. It ought to be a SQLite db with a well-known schema, |
| 906 |
| --- test/json.test | |
| +++ test/json.test | |
| @@ -895,11 +895,10 @@ | |
| 895 | fossil_json HAI -expectError |
| 896 | test json-RC-4102-CLI-exit {$CODE != 0} |
| 897 | test_json_envelope json-RC-4102-CLI-exit {fossil timestamp command procTimeUs \ |
| 898 | procTimeMs resultCode resultText} {payload} |
| 899 | test json-RC-4102 {[dict get $JR resultCode] eq "FOSSIL-4102"} |
| 900 | |
| 901 | # FOSSIL-4103 FSL_JSON_E_DB_NOT_VALID |
| 902 | # Fossil repository db file is not valid. |
| 903 | write_file nope.fossil { |
| 904 | This is not a fossil repo. It ought to be a SQLite db with a well-known schema, |
| 905 |