Fossil

File History
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

History of test/th1.test

2018-09-03
06:27
The test harness now skips all tests done in the Fossil source repo checkout directory while there are uncommitted changes because that will affect the behavior of fossil status, fossil diff, etc., which in turn tends to create false positives in test harness code that checks for changes in fossil command output. file: [f46881da] check-in: [78ec6838] user: wyoung branch: wrap-run_in_checkout, size: 57565
06:22
Partially reverted one of the run_in_checkout replacements in test/th1.test: it was inside a foreach loop, which means the test for whether we're inside the Fossil repo checkout was being done 26 times. This is not only inefficient, it spammed the output with "Skipping test blabla..." lines. Now doing a manual check outside the loop and skipping the in-repo tests silently inside the loop. file: [7b7f91ba] check-in: [3cb1b4f0] user: wyoung branch: wrap-run_in_checkout, size: 57452
06:19
Fixed a Tcl syntax error checked in with [33efa2fa]. (Yay dynamic languages that run the code even if it's syntactically invalid. P'tui!) file: [8f85d914] check-in: [4315d464] user: wyoung branch: wrap-run_in_checkout, size: 57293
00:40
Replaced most of the direct calls to run_in_checkout from within the test suite with one of two wrapper functions that skip those tests when you run "make test" outside a Fossil repository checkout directory, such as from a directory containing an unpacked source release tarball. (The two remaining direct calls to that proc from test/*.test are preceded by a check that skips the whole file they're in, since that whole file does nothing else.) This is being checked in on a branch because it is not yet thoroughly tested, yet I need the checkpoint. file: [ab743e00] check-in: [33efa2fa] user: wyoung branch: wrap-run_in_checkout, size: 57292
2017-10-02
15:23
Add docs and tests for the TH1 'string index' command added by check-in [0c57ba3eb4]. Also, fix issue with handling of the special 'end' index. file: [223ad61b] check-in: [e9845e59] user: mistachkin branch: trunk, size: 57220
2017-04-19
06:58
some end-of-line spacing file: [09371f1a] check-in: [7f4b50b2] user: jan.nijtmans branch: trunk, size: 54769
2017-03-14
23:30
Changed remaining regexps in test cases that match hashes to allow hashes to range from 40 to 64 hex digits. Added the same_uuid proc to the test harness to regularize comparing uuids. It is true if one is a prefix of the other. There are still regressions in the test suite, especially in amend.test, but this is progress. file: [f7a82076] check-in: [0541af5f] user: rberteig branch: trunk, size: 54770
20:21
New test case for the Markdown bug, fixed issues with hash matching, fixed tests for the TH1 unversioned command so they no longer depend on unversioned files from a past release in the real repository. file: [79cfc5d0] check-in: [f92672bd] user: rberteig branch: trunk, size: 54982
2017-03-08
03:22
Enhancements to TH1 related to hashing. Add the 'hash' TH1 command. file: [1ae68bfa] check-in: [357c3c68] user: mistachkin branch: th1Hash, size: 57189
2016-10-10
07:07
Slightly simplify code. Add and modify tests. Merge changes from trunk. file: [11f0ded1] check-in: [a3f04386] user: mistachkin branch: th1Unversioned, size: 55214
2016-10-04
23:27
Do not use the Tcl global variable name 'dir'. file: [c140bb96] check-in: [64b812bd] user: mistachkin branch: trunk, size: 53671
2016-08-18
02:11
Further enhancements to TH1 permissions testing. file: [572a0ba7] check-in: [5915e6f4] user: mistachkin branch: trunk, size: 53669
01:50
Some coding style corrections in the TH1 tests. file: [9b53b1ac] check-in: [46e92c25] user: mistachkin branch: trunk, size: 52217
01:47
Add tests for the 'anycap', 'anoncap', and 'hascap' TH1 commands. Also, add the --set-user-caps and --set-anon-caps options to the 'test-th-eval', 'test-th-render', and 'test-th-source' test commands. file: [b1f23754] check-in: [5ea2a4fb] user: mistachkin branch: trunk, size: 51708
2016-03-02
20:43
Rename the test suite procedure 'repo_init' to 'test_setup'. file: [3f1c8577] check-in: [413921cc] user: mistachkin branch: testerCleanup, size: 49901
06:45
More work... file: [ae11722a] check-in: [29f0328c] user: mistachkin branch: testerCleanup, size: 49900
06:22
Work in progress on cleaning up home/repo handling in the test suite. file: [7deae458] check-in: [89f76a21] user: mistachkin branch: testerCleanup, size: 49805
2016-02-06
02:03
Merged from trunk to pick up work in progress and a bug fix to tester.tcl. Fixed issue introduced by the addition of the insertCsrf and verifyCsrf commands from ci [f8820eff] which broke the test th1-info-commands. Also fixed the dependence on the order of commands output by TH1. file: [9ea9b07c] check-in: [2de15c8e] user: rberteig branch: rberteig-json-test, size: 49810
2016-01-28
05:37
Minor style and comment cleanup. Add verify_all_options() to several TH1 test commands. Add 'test-th-source' test command, with test. file: [a54a3bd4] check-in: [f141fbea] user: mistachkin branch: trunk, size: 49938
2016-01-18
02:21
Add the 'array exists' and 'array names' sub-commands to TH1. file: [fc7c3b0a] check-in: [fd4ada4a] user: mistachkin branch: tclPlatform, size: 49509
2016-01-17
22:17
Add support for the tcl_platform(platform) and tcl_platform(engine) array elements to TH1. file: [6ad1735d] check-in: [663b722e] user: mistachkin branch: tclPlatform, size: 47186
2016-01-12
03:14
More improvements to the 'th1' test file. file: [dbe31f85] check-in: [fc14f143] user: mistachkin branch: trunk, size: 46721
2016-01-11
21:09
Allow the 'th1' test file to fully pass with or without the 'tcl' and 'th1-hooks' settings enabled. file: [878234d5] check-in: [a9dc33d4] user: mistachkin branch: trunk, size: 45948
2016-01-10
01:43
More test fixes in the 'th1' test file. file: [da8550f6] check-in: [5d49329f] user: mistachkin branch: trunk, size: 44548
2016-01-09
19:14
Modify 'th1' test file to run most of its tests outside of the Fossil source checkout using a new test suite infrastructure procedure. file: [b15f5a54] check-in: [7b9b5807] user: mistachkin branch: trunk, size: 44480
2016-01-06
03:49
Adjust two markdown tests so they pass again. file: [531b6d78] check-in: [a489aecc] user: mistachkin branch: trunk, size: 44376
2015-10-21
21:06
Correct and enhance tests. file: [a12b735b] check-in: [3b691ce9] user: mistachkin branch: trunk, size: 44433
20:39
Add the 'encode64' command to TH1. file: [58bd1297] check-in: [3f21421a] user: mistachkin branch: trunk, size: 43995
2015-08-15
18:47
Restore read-only TH1 tests to their original file. Coding style fixes in tests. Add 'dir' command to the expected command list test. file: [9ad7f38a] check-in: [25e9c00b] user: mistachkin branch: ckol-th1-dir-cmd, size: 43669
13:22
* factored out th1 tests from th1.test that need a repository (takes longer to test) * fixed tests that had wrong result expectations * finally: implemented test for new th1-dir-cmd file: [501571a5] check-in: [484d7d8e] user: ckolumbus branch: ckol-th1-dir-cmd, size: 39674
2015-07-19
18:34
Add the 'markdown' command to TH1. file: [1dcc18ab] check-in: [f6d29e9c] user: mistachkin branch: trunk, size: 43665
2015-07-15
00:54
Add 'double' and 'integer' classes to the 'string is' command in TH1. file: [18ed5180] check-in: [5e9c7a4a] user: mistachkin branch: trunk, size: 41785
00:31
Add 'list' class to the 'string is' command in TH1. file: [e68a70b3] check-in: [c3ffd0e3] user: mistachkin branch: trunk, size: 39576
2015-05-29
17:20
Add 'glob_match' command to TH1. file: [891adb93] check-in: [62f1f484] user: mistachkin branch: trunk, size: 36390
17:17
Add minimal 'lsearch' command to TH1. Only exact case-sensitive matching is supported. file: [33a92557] check-in: [54b0567c] user: mistachkin branch: trunk, size: 33587
2015-05-28
05:01
Remove stray debugging output. file: [6f736303] check-in: [dd6ec72d] user: mistachkin branch: th1GlobMatch, size: 34716
04:29
Add tests. file: [065d3de7] check-in: [0739e5b5] user: mistachkin branch: th1GlobMatch, size: 34729
2015-05-27
18:37
Have all appropriate tests use 'normalize_result' instead of a raw 'string map'. file: [80f9831c] check-in: [d2cf0713] user: mistachkin branch: mvRmHardFix, size: 31789
03:58
Add minimal 'lsearch' command to TH1. Only exact case-sensitive matching is supported. file: [9a391428] check-in: [eabd7290] user: mistachkin branch: lsearchCmd, size: 33711
2015-04-30
08:09
Fix two failing test-cases file: [6075c4da] check-in: [54bd0131] user: jan.nijtmans branch: trunk, size: 31913
2015-04-05
18:17
Add the 'info commands' and 'info vars' sub-commands to the TH1 core language, with tests. file: [95a9bc4c] check-in: [810e6c1e] user: mistachkin branch: trunk, size: 31875
2015-04-02
20:15
More fixes to TH1 integer and expression processing. file: [8658d83e] check-in: [fc248d66] user: mistachkin branch: trunk, size: 30312
2015-02-16
03:11
Fix some TH1 test failures due to recent changes. file: [bf19e349] check-in: [d44207ff] user: mistachkin branch: trunk, size: 28812
2014-09-08
16:46
Add 'reinitialize' command to TH1. Add 'flags' to the globalState TH1 command. file: [e408da75] check-in: [f3a7da44] user: mistachkin branch: th1ReInit, size: 28882
2014-09-01
18:51
Add the --with-miniz configuration option (with the complete miniz source code.) Add the globalState TH1 command and fixes to the TH1 expr command. file: [93bd3f2a] check-in: [66ae70a5] user: drh branch: trunk, size: 28245
2014-08-28
00:00
Fix TH1 expression parsing when there are unbalanced parenthesis. Add more tests. file: [71480b70] check-in: [00c01d7a] user: mistachkin branch: th1ExprFix, size: 25269
2014-08-25
17:52
Fix assert in the TH1 expression parser reported on the mailing list. file: [a03f8b23] check-in: [cd644057] user: mistachkin branch: th1ExprFix, size: 24420
2014-07-24
03:12
Add new globalState command to TH1, with tests. file: [bd9fedf9] check-in: [995173d0] user: mistachkin branch: globalStateCmd, size: 27246
2014-06-16
18:49
Enhance the new TH1 artifact command with more flexible lookup semantics. file: [247968ba] check-in: [00e4fedd] user: mistachkin branch: trunk, size: 24270
18:02
Add an 'artifact' command to TH1. file: [95c71244] check-in: [109d8f5d] user: mistachkin branch: trunk, size: 23428
2014-06-15
01:22
Add the 'th-force-cgi' and 'th-full-http' options to several test commands. file: [043da0fa] check-in: [c1915c33] user: mistachkin branch: trunk, size: 22436
00:38
Corrections to the new 'styleHeader' and 'styleFooter' TH1 commands. Modify TH1 integration code to keep track of when it opens databases. Modify 'test-th-hook' command to permit TH1 tracing. Corrections to new TH1 command test results. file: [6aaa91b8] check-in: [142200b9] user: mistachkin branch: trunk, size: 22421
2014-06-14
22:16
Corrections to the new TH1 'checkout' command and tests. file: [46bd0212] check-in: [589b902e] user: mistachkin branch: trunk, size: 21569
2014-06-10
23:53
Prevent the 'setParameter' TH1 command from creating duplicate query parameters. file: [f696ad75] check-in: [617eeaec] user: mistachkin branch: th1Cmds, size: 21498
23:12
Add the 'getParameter' and 'setParameter' TH1 commands. file: [f860240b] check-in: [40c11955] user: mistachkin branch: th1Cmds, size: 20843
19:59
Add the 'checkout', 'render', 'styleHeader', 'styleFooter', and 'trace' TH1 commands. file: [a718634d] check-in: [c18ff5d0] user: mistachkin branch: th1Cmds, size: 19451
05:01
Modularization and cleanup of several test files. file: [ecd6278a] check-in: [2c9d6b5e] user: mistachkin branch: trunk, size: 16481
2014-04-04
12:18
Cherry-pick [ee1aa460a4]: Fix using the unary bitwise NOT operator in TH1. Update to SQLite 3.8.4.3 file: [d651ef20] check-in: [97608a6b] user: jan.nijtmans branch: branch-1.28, size: 12313
11:07
Another test-case which gave an expected error-message, with fix: before: $ fossil test-th-eval "expr 0+0b" TH_ERROR: syntax error in expression: "0+0b" after: $ ./fossil test-th-eval "expr 0+0b" TH_ERROR: expected number, got: "0b" file: [ae944192] check-in: [b78ae90a] user: jan.nijtmans branch: trunk, size: 16484
10:20
Fix error-handling in parsing of binary/octal/hex integers for th1. Add test-cases for it. file: [56b9471d] check-in: [99901fbf] user: jan.nijtmans branch: trunk, size: 16298
08:48
Fix one situation in which integers still could fool the number parser. Add test-case for it. file: [9a2c3788] check-in: [9fdc7a04] user: jan.nijtmans branch: trunk, size: 16165
08:16
Fix error-handling in parsing of binary/octal/hex integers for th1. Add test-cases for it. file: [83e57f47] check-in: [a306f771] user: jan.nijtmans branch: trunk, size: 16017
2014-04-01
22:28
Fix using the unary bitwise NOT operator in TH1. file: [e2c0cfd4] check-in: [ee1aa460] user: mistachkin branch: trunk, size: 14407
2014-02-15
06:46
Make TH1 tests work without relying on the exactly autosync setting value. file: [d08b2848] check-in: [2d90fd07] user: mistachkin branch: trunk, size: 12923
06:14
Create a repo and explicitly set the autosync setting so TH1 tests will run correctly regardless of the user's global setting. file: [4de91678] check-in: [3baa7e3d] user: joel branch: pending-review, size: 13264
2014-02-04
20:32
Fix a couple corner cases for the TH1 expr command. file: [d57dff29] check-in: [e4e2b2e4] user: mistachkin branch: trunk, size: 12891
2014-01-16
07:05
Fix various corner cases for the TH1 'string first' and 'string last' sub-commands. file: [86b5e388] check-in: [f61958b1] user: mistachkin branch: trunk, size: 10829
2014-01-14
13:25
Fix another possible memory leak in a corner case. Add more tests. Improve comments on the new Find structure. file: [96edb2a8] check-in: [9b3b1d07] user: mistachkin branch: th1UnsetVar, size: 7835
12:50
Fix several issues with the TH1 unset command, including a memory leak. Add more tests. file: [480bd752] check-in: [e4047acb] user: mistachkin branch: th1UnsetVar, size: 6995
2014-01-13
23:27
Make sure that TH1 variables get removed from the call frame upon being unset. file: [23018a0b] check-in: [fa17f1ce] user: mistachkin branch: th1Work, size: 5663
2014-01-09
19:11
Make sure the TH1 'info exists' sub-command preserves the existing interp error stack trace. file: [d276fa72] check-in: [9765b037] user: mistachkin branch: trunk, size: 5463
2014-01-05
23:05
Make sure the TH1 unset command fails if the variable does not exist. file: [6e11ffc9] check-in: [99bdfa0b] user: mistachkin branch: trunk, size: 5268
22:53
Fix TH1 'info exists' command for variables that have been unset. file: [ca332224] check-in: [7164f52b] user: mistachkin branch: trunk, size: 4929
2014-01-03
23:18
Fix memory leaks in the TH1 divide-by-zero handling. Add more tests. file: [8fe07aa8] check-in: [60acb318] user: mistachkin branch: trunk, size: 4002
2013-12-29
00:53
Fix floating-point divide by zero issue in TH1 reported on the mailing list and add tests. file: [9ada6cd9] check-in: [479b3de1] user: mistachkin branch: trunk, size: 3221
2013-05-08
04:12
Add setting TH1 command, with tests. Improve handling of the TH1 trace log. file: [98f3ead8] check-in: [0264475c] user: mistachkin branch: trunk, size: 2485 Added