Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Create a repo and explicitly set the autosync setting so TH1 tests will run correctly regardless of the user's global setting. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | pending-review |
Files: | files | file ages | folders |
SHA1: |
3baa7e3dc195a888e1f99c31b5918589 |
User & Date: | joel 2014-02-15 06:14:38.025 |
Context
2014-02-15
| ||
06:14 | Create a repo and explicitly set the autosync setting so TH1 tests will run correctly regardless of the user's global setting. ... (Closed-Leaf check-in: 3baa7e3d user: joel tags: pending-review) | |
05:57 | Fix compiler warning on MSVC. ... (check-in: 783a2a1b user: mistachkin tags: trunk) | |
Changes
Changes to test/th1.test.
︙ | ︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | # drh@hwaci.com # http://www.hwaci.com/drh/ # ############################################################################ # # TH1 Commands # fossil test-th-eval --th-open-config "setting abc" test th1-setting-1 {$RESULT eq ""} ############################################################################### fossil test-th-eval --th-open-config "setting -- abc" | > > > > > > > > > > > > > > > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | # drh@hwaci.com # http://www.hwaci.com/drh/ # ############################################################################ # # TH1 Commands # catch {exec $::fossilexe info} res puts res=$res if {![regexp {use --repository} $res]} { puts stderr "Cannot run this test within an open checkout" return } # Fossil will write data on $HOME, running 'fossil new' here. # We need not to clutter the $HOME of the test caller. set env(HOME) [pwd] fossil new rep.fossil fossil open rep.fossil fossil setting autosync 1 fossil test-th-eval --th-open-config "setting abc" test th1-setting-1 {$RESULT eq ""} ############################################################################### fossil test-th-eval --th-open-config "setting -- abc" |
︙ | ︙ |