Fossil SCM

No need to re-open repository in json tests.

preben 2024-01-10 09:39 testing-improvements
Commit 41c35fb6e2cea4c9bab55cb318294a0afcd604f7809eb6b743c6dd249100dc3c
1 file changed -1
--- test/json.test
+++ test/json.test
@@ -895,11 +895,10 @@
895895
fossil_json HAI -expectError
896896
test json-RC-4102-CLI-exit {$CODE != 0}
897897
test_json_envelope json-RC-4102-CLI-exit {fossil timestamp command procTimeUs \
898898
procTimeMs resultCode resultText} {payload}
899899
test json-RC-4102 {[dict get $JR resultCode] eq "FOSSIL-4102"}
900
-fossil open .rep.fossil
901900
902901
# FOSSIL-4103 FSL_JSON_E_DB_NOT_VALID
903902
# Fossil repository db file is not valid.
904903
write_file nope.fossil {
905904
This is not a fossil repo. It ought to be a SQLite db with a well-known schema,
906905
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button