Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Make the read-only json test work on Windows. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
938122da85336d15b7a57fe8b43fc414 |
User & Date: | mistachkin 2016-02-07 23:22:10.636 |
Context
2016-02-07
| ||
23:22 | Further enhance the 'sqlite3' command and make use of it in the json test. ... (check-in: f9c14d7d user: mistachkin tags: trunk) | |
23:22 | Make the read-only json test work on Windows. ... (check-in: 938122da user: mistachkin tags: trunk) | |
22:55 | Use the 'hasfeature' TH1 command to test if JSON was included at compile-time. ... (check-in: 09a46c28 user: mistachkin tags: trunk) | |
Changes
Changes to test/json.test.
︙ | ︙ | |||
672 673 674 675 676 677 678 | #catch {exec chmod 444 .rep.fossil}; # Unix. What about Win? fossil_http_json /json/timeline/checkin $U1Cookie test json-ROrepo-1-1 {$CODE == 0} test json-ROrepo-1-2 {[regexp {\}\s*$} $RESULT]} test json-ROrepo-1-3 {![regexp {SQLITE_[A-Z]+:} $RESULT]} test_json_envelope_ok json-http-timeline1 protOut "chmod 444 repo" | | > > | | 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 | #catch {exec chmod 444 .rep.fossil}; # Unix. What about Win? fossil_http_json /json/timeline/checkin $U1Cookie test json-ROrepo-1-1 {$CODE == 0} test json-ROrepo-1-2 {[regexp {\}\s*$} $RESULT]} test json-ROrepo-1-3 {![regexp {SQLITE_[A-Z]+:} $RESULT]} test_json_envelope_ok json-http-timeline1 protOut "chmod 444 repo" catch {exec chmod 444 .rep.fossil}; # Unix catch {exec attrib +r .rep.fossil}; # Windows fossil_http_json /json/timeline/checkin $U1Cookie -expectError test json-ROrepo-2-1 {$CODE != 0} test json-ROrepo-2-2 {[regexp {\}\s*$} $RESULT]} knownBug test json-ROrepo-2-3 {![regexp {SQLITE_[A-Z]+:} $RESULT]} knownBug #test_json_envelope_ok json-http-timeline2 catch {exec attrib -r .rep.fossil}; # Windows catch {exec chmod 666 .rep.fossil}; # Unix #### Result Codes # Test cases designed to stimulate each (documented) error code. # FOSSIL-0000 # Not returned by any command. We generally verify that in the |
︙ | ︙ |