about summary refs log tree commit diff
path: root/Test/comptest
Commit message (Collapse)AuthorAgeFilesLines
* 46189: Ignore exit status of final zpty_flush in comptestevalBart Schaefer2020-07-071-0/+1
|
* 46174/0002: test harness: Restore indentation after the previous commit. No ↵Daniel Shahaf2020-07-051-18/+18
| | | | functional change.
* 46174/0001: test harness: Plug a symlink attackDaniel Shahaf2020-07-051-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 Stephenson2015-12-101-1/+1
| | | | Also fix Meta bug on pattern match in zpty -r.
* 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ↵Barton E. Schaefer2015-11-211-1/+1
| | | | ZTST_skip
* 34774: fix %prep and use read from a no-op pipe to force wait for the timeoutBarton E. Schaefer2015-03-251-1/+1
|
* 34772: add new test suite file for history; fix "read" usage in comptestBarton E. Schaefer2015-03-231-1/+1
|
* 33829: unbind ESC~ as a more reliable workaroundJun-ichi Takimoto2014-12-071-1/+1
|
* 33769: workaround for KEYTIMEOUT to work from testJun T2014-11-251-2/+2
| | | | cases on Darwin and FreeBSD
* 33704: keybindings, documentation, tests and minorOliver Kiddle2014-11-171-1/+1
| | | | fixes for vim style visual selection changes
* 33699: support short delays in zle tests where weOliver Kiddle2014-11-171-3/+9
| | | | need KEYTIMEOUT to elapse
* 33695: fix various vi-indent problems and vi-swap-case on a blank lineOliver Kiddle2014-11-151-1/+1
|
* 33599: workaround zpty issue that causes vi testJun T2014-11-091-1/+1
| | | | cases to fail on MacOS and FreeBSD
* 32497: avoid using comptesteval in the middle of a series of testsBarton E. Schaefer2014-03-181-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 adjustmentsBarton E. Schaefer2014-02-151-5/+3
|
* Fix character transposition typoBarton E. Schaefer2014-02-131-1/+1
|
* 32377: change keybindings and PTY control for vi-mode tests to make them ↵Barton E. Schaefer2014-02-131-8/+28
| | | | more reliable
* 32355: document and test vi mode undo changesOliver Kiddle2014-02-051-1/+1
|
* unposted: move path assignment from comptest to Y01completion.ztstBarton E. Schaefer2013-12-261-1/+0
|
* 32183: regression tests for 32182 and 31611Barton E. Schaefer2013-12-251-0/+1
|
* 32137: set pseudo-terminal speed to prevent padding charactersJ. Takimoto2013-12-161-1/+1
|
* 31041: add support for testing line editor widgets from the test suiteOliver Kiddle2013-02-121-5/+28
|
* 26301: make zpty -r exit more cleanly on bad readsPeter Stephenson2009-01-131-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 environmentPeter Stephenson2008-10-121-0/+2
|
* Assorted "make check" tweaks.Bart Schaefer2001-06-251-1/+1
|
* Avoid echotc in completion tests.Bart Schaefer2001-06-091-2/+1
|
* Fix "make check" in emacs shell mode.Bart Schaefer2001-06-081-1/+2
|
* Fixes from Andrej for zpty on cygwinPeter Stephenson2001-05-081-1/+1
|
* (13892) fixes for fpaths and completion matchingSven Wischnowsky2001-04-031-1/+3
|
* 13442: Use +Z to suppress loading of ZLE modules when testing.Bart Schaefer2001-02-081-1/+2
|
* zsh-workers/13395: Added code to test compstate[insert_positions], value of ↵Felix Rosencrantz2001-01-281-1/+3
| | | | insert_positions are now reported
* make non-blocking IO on ptys work again; add -t option to test if command is ↵Sven Wischnowsky2000-10-191-1/+1
| | | | still alive (13035)
* 12151: Fix ZDOTDIR during "make check" for static builds.Bart Schaefer2000-07-041-1/+1
|
* Fix comptest interaction with compinit.Bart Schaefer2000-06-221-1/+2
|
* update comptest to not set ZLS_COLORS directly (11982)Sven Wischnowsky2000-06-191-5/+5
|
* fix wording in error messages for tests (11755)Oliver Kiddle2000-06-051-3/+3
|
* Felix Rosencrantz: 11450: Replace `tr` with paramsubst.Bart Schaefer2000-05-181-2/+1
|
* 11441: Test/comptest, Test/53completion.ztst,Tanaka Akira2000-05-171-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 Wischnowsky2000-05-171-16/+45
|
* Initial revisionTanaka Akira2000-02-291-0/+94