Fossil SCM

Another test correction.

mistachkin 2020-06-12 23:10 jsonTestsPass
Commit 051428f43988fc8b3bf21278417ee97e61ce91ea912f47479b4d1025d67cc729
1 file changed +4
--- test/json.test
+++ test/json.test
@@ -713,12 +713,16 @@
713713
test json-ROrepo-2-2 {[regexp {\}\s*$} $RESULT]}
714714
test json-ROrepo-2-3 {![regexp {SQLITE_[A-Z]+:} $RESULT]}
715715
#test_json_envelope_ok json-http-timeline2
716716
if {$is_windows} then {
717717
catch {exec attrib -r .rep.fossil}; # Windows
718
+ catch {exec attrib -r .rep.fossil-shm}
719
+ catch {exec attrib -r .rep.fossil-wal}
718720
} else {
719721
catch {exec chmod 666 .rep.fossil}; # Unix
722
+ catch {exec chmod 666 .rep.fossil-shm}
723
+ catch {exec chmod 666 .rep.fossil-wal}
720724
}
721725
protOut "chmod 666 repo"
722726
723727
#### Result Codes
724728
# Test cases designed to stimulate each (documented) error code.
725729
--- test/json.test
+++ test/json.test
@@ -713,12 +713,16 @@
713 test json-ROrepo-2-2 {[regexp {\}\s*$} $RESULT]}
714 test json-ROrepo-2-3 {![regexp {SQLITE_[A-Z]+:} $RESULT]}
715 #test_json_envelope_ok json-http-timeline2
716 if {$is_windows} then {
717 catch {exec attrib -r .rep.fossil}; # Windows
 
 
718 } else {
719 catch {exec chmod 666 .rep.fossil}; # Unix
 
 
720 }
721 protOut "chmod 666 repo"
722
723 #### Result Codes
724 # Test cases designed to stimulate each (documented) error code.
725
--- test/json.test
+++ test/json.test
@@ -713,12 +713,16 @@
713 test json-ROrepo-2-2 {[regexp {\}\s*$} $RESULT]}
714 test json-ROrepo-2-3 {![regexp {SQLITE_[A-Z]+:} $RESULT]}
715 #test_json_envelope_ok json-http-timeline2
716 if {$is_windows} then {
717 catch {exec attrib -r .rep.fossil}; # Windows
718 catch {exec attrib -r .rep.fossil-shm}
719 catch {exec attrib -r .rep.fossil-wal}
720 } else {
721 catch {exec chmod 666 .rep.fossil}; # Unix
722 catch {exec chmod 666 .rep.fossil-shm}
723 catch {exec chmod 666 .rep.fossil-wal}
724 }
725 protOut "chmod 666 repo"
726
727 #### Result Codes
728 # Test cases designed to stimulate each (documented) error code.
729

Keyboard Shortcuts

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