Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 51860: simplify suffix handling in _prefix to remove less accurate hack | Marlon Richert | 2023-06-22 | 1 | -1/+7 |
| | | | | | | | | | | | | | | | | | | | This solves the following problems in the _prefix completer: - The old code had logic for dealing with compstate[unambiguous] that was unnecessary. It works fine without it. - Because of this logic, if a widget set compstate[insert]=1 after calling _main_complete, an `x` was left after the completion on the command line. - If the same widget also set `compstate[to_end]=`, then instead, the last character of the inserted completion would be treated as an autoremovable suffix, with the actual suffix being inserted to the line as a normal character. - After inserting a completion, the cursor would move to the end of the entire current word on the command, not the end of word that was inserted. This is not what you want with _prefix, since you are trying to complete a word _before_ the one on the command line, after which you usually want to insert a separator, such as a space or slash, before the next word. | ||||
* | 48413: Fix _expand completion test | Marlon Richert | 2021-04-06 | 1 | -5/+6 |
| | |||||
* | 46189: Ignore exit status of final zpty_flush in comptesteval | Bart Schaefer | 2020-07-07 | 1 | -0/+1 |
| | |||||
* | 46174/0002: test harness: Restore indentation after the previous commit. No ↵ | Daniel Shahaf | 2020-07-05 | 1 | -18/+18 |
| | | | | functional change. | ||||
* | 46174/0001: test harness: Plug a symlink attack | Daniel Shahaf | 2020-07-05 | 1 | -2/+10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The test harness created tempfiles with a predictable names and sourced them without verifying they had been created by itself. This opened anyone who ran the test suite to a symlink attacks from other local users on the build machine. Fix this by creating the file whilst NO_CLOBBER and ERR_EXIT are both in scope, to ensure that we'll abort unless the file really was created as expected. Put the existing rm(1) call in a try/always block to help it be unlinked on test failures, thus reducing the chances of the NO_CLOBBER check triggering on tempfiles created by earlier test suite runs. I had first tried to fix this by using the . () { ... } =(:) . idiom, but couldn't get that to work: it broke the %prep code of X03 with ZTST_verbose unset (its default value) but not with ZTST_verbose=3. (I tried to set the latter to debug zpty_flush.) While there, add a needed-in-principle-but-noop-in-this-specific-case (q). Indentation will be restored in the next commit. | ||||
* | 37378: New bindkey tests. | Peter Stephenson | 2015-12-10 | 1 | -1/+1 |
| | | | | Also fix Meta bug on pattern match in zpty -r. | ||||
* | 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ↵ | Barton E. Schaefer | 2015-11-21 | 1 | -1/+1 |
| | | | | ZTST_skip | ||||
* | 34774: fix %prep and use read from a no-op pipe to force wait for the timeout | Barton E. Schaefer | 2015-03-25 | 1 | -1/+1 |
| | |||||
* | 34772: add new test suite file for history; fix "read" usage in comptest | Barton E. Schaefer | 2015-03-23 | 1 | -1/+1 |
| | |||||
* | 33829: unbind ESC~ as a more reliable workaround | Jun-ichi Takimoto | 2014-12-07 | 1 | -1/+1 |
| | |||||
* | 33769: workaround for KEYTIMEOUT to work from test | Jun T | 2014-11-25 | 1 | -2/+2 |
| | | | | cases on Darwin and FreeBSD | ||||
* | 33704: keybindings, documentation, tests and minor | Oliver Kiddle | 2014-11-17 | 1 | -1/+1 |
| | | | | fixes for vim style visual selection changes | ||||
* | 33699: support short delays in zle tests where we | Oliver Kiddle | 2014-11-17 | 1 | -3/+9 |
| | | | | need KEYTIMEOUT to elapse | ||||
* | 33695: fix various vi-indent problems and vi-swap-case on a blank line | Oliver Kiddle | 2014-11-15 | 1 | -1/+1 |
| | |||||
* | 33599: workaround zpty issue that causes vi test | Jun T | 2014-11-09 | 1 | -1/+1 |
| | | | | cases to fail on MacOS and FreeBSD | ||||
* | 32497: avoid using comptesteval in the middle of a series of tests | Barton E. Schaefer | 2014-03-18 | 1 | -0/+8 |
| | | | | | The change in control required for sourcing the command file can confuse the simulated interactive input | ||||
* | 32389 (with Jun Takimoto): additional PTY and keybinding adjustments | Barton E. Schaefer | 2014-02-15 | 1 | -5/+3 |
| | |||||
* | Fix character transposition typo | Barton E. Schaefer | 2014-02-13 | 1 | -1/+1 |
| | |||||
* | 32377: change keybindings and PTY control for vi-mode tests to make them ↵ | Barton E. Schaefer | 2014-02-13 | 1 | -8/+28 |
| | | | | more reliable | ||||
* | 32355: document and test vi mode undo changes | Oliver Kiddle | 2014-02-05 | 1 | -1/+1 |
| | |||||
* | unposted: move path assignment from comptest to Y01completion.ztst | Barton E. Schaefer | 2013-12-26 | 1 | -1/+0 |
| | |||||
* | 32183: regression tests for 32182 and 31611 | Barton E. Schaefer | 2013-12-25 | 1 | -0/+1 |
| | |||||
* | 32137: set pseudo-terminal speed to prevent padding characters | J. Takimoto | 2013-12-16 | 1 | -1/+1 |
| | |||||
* | 31041: add support for testing line editor widgets from the test suite | Oliver Kiddle | 2013-02-12 | 1 | -5/+28 |
| | |||||
* | 26301: make zpty -r exit more cleanly on bad reads | Peter Stephenson | 2009-01-13 | 1 | -2/+2 |
| | | | | | add option -m to make zpty -r return status 1 if pattern failed to match use this option in comptest | ||||
* | unposted, c.f. 25848: attempt to sanitize comptest environment | Peter Stephenson | 2008-10-12 | 1 | -0/+2 |
| | |||||
* | Assorted "make check" tweaks. | Bart Schaefer | 2001-06-25 | 1 | -1/+1 |
| | |||||
* | Avoid echotc in completion tests. | Bart Schaefer | 2001-06-09 | 1 | -2/+1 |
| | |||||
* | Fix "make check" in emacs shell mode. | Bart Schaefer | 2001-06-08 | 1 | -1/+2 |
| | |||||
* | Fixes from Andrej for zpty on cygwin | Peter Stephenson | 2001-05-08 | 1 | -1/+1 |
| | |||||
* | (13892) fixes for fpaths and completion matching | Sven Wischnowsky | 2001-04-03 | 1 | -1/+3 |
| | |||||
* | 13442: Use +Z to suppress loading of ZLE modules when testing. | Bart Schaefer | 2001-02-08 | 1 | -1/+2 |
| | |||||
* | zsh-workers/13395: Added code to test compstate[insert_positions], value of ↵ | Felix Rosencrantz | 2001-01-28 | 1 | -1/+3 |
| | | | | insert_positions are now reported | ||||
* | make non-blocking IO on ptys work again; add -t option to test if command is ↵ | Sven Wischnowsky | 2000-10-19 | 1 | -1/+1 |
| | | | | still alive (13035) | ||||
* | 12151: Fix ZDOTDIR during "make check" for static builds. | Bart Schaefer | 2000-07-04 | 1 | -1/+1 |
| | |||||
* | Fix comptest interaction with compinit. | Bart Schaefer | 2000-06-22 | 1 | -1/+2 |
| | |||||
* | update comptest to not set ZLS_COLORS directly (11982) | Sven Wischnowsky | 2000-06-19 | 1 | -5/+5 |
| | |||||
* | fix wording in error messages for tests (11755) | Oliver Kiddle | 2000-06-05 | 1 | -3/+3 |
| | |||||
* | Felix Rosencrantz: 11450: Replace `tr` with paramsubst. | Bart Schaefer | 2000-05-18 | 1 | -2/+1 |
| | |||||
* | 11441: Test/comptest, Test/53completion.ztst, | Tanaka Akira | 2000-05-17 | 1 | -74/+66 |
| | | | | | Test/54compmatch.ztst: use only one zsh process to test for each completion test file. | ||||
* | add Felix' completion matching test; some fixes for bugs shown by it (11439) | Sven Wischnowsky | 2000-05-17 | 1 | -16/+45 |
| | |||||
* | Initial revision | Tanaka Akira | 2000-02-29 | 1 | -0/+94 |