1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-17 02:51:01 +02:00
zsh/Test
Peter Stephenson d946f22a4c 44664: Fix problem with temporary assignment.
"foo=bar builtin" inside a function lost any variable from
enclosing scope.
2019-08-14 15:16:59 +01:00
..
.cvsignore
.distfiles
A01grammar.ztst 44345: fix wordcode traversal where ! without a following command could result in a crash 2019-05-23 01:05:01 +02:00
A02alias.ztst 42146: type -w += global aliases 2017-12-20 05:43:42 +00:00
A03quoting.ztst 41485: test for previous fix 2017-08-03 21:50:18 +01:00
A04redirect.ztst 44446: Fix here document with file descriptor declarator. 2019-06-24 20:19:19 +01:00
A05execution.ztst 43945 (tweaked to remove test failure, noted in test): 2018-12-30 18:11:43 +00:00
A06assign.ztst 42101 (tweaked): assigning shell status to array was broken 2018-05-11 09:29:14 +01:00
A07control.ztst 34077: further tests for return status from "for" loops 2015-01-02 21:16:41 +00:00
B01cd.ztst 41284: Fix NULL dereference in cd. 2017-06-13 15:41:00 +01:00
B02typeset.ztst 44296: "typeset Q= {X}" crashed the shell. 2019-05-14 12:10:10 +01:00
B03print.ztst 42488: test cases for 42369 and address some issues in the code 2018-05-13 10:13:42 +02:00
B04read.ztst
B05eval.ztst
B06fc.ztst 33686: set PS1 before pattern-matching for it 2014-11-13 09:27:14 -08:00
B07emulate.ztst 41668: New --emulate option on invocation. 2017-09-11 10:12:17 +01:00
B08shift.ztst
B09hash.ztst 39949: Special case for "-" in directory names. 2016-11-15 18:01:32 +00:00
B10getopts.ztst 44469: correct error on missing option argument 2019-07-01 09:42:22 +01:00
C01arith.ztst 43944: apply NO_UNSET consistently to arithmeitc 2018-12-30 18:03:02 +00:00
C02cond.ztst 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error. 2017-11-24 22:10:27 +00:00
C03traps.ztst unposted: another couple of tests for previous commit. 2018-10-10 12:11:27 +01:00
C04funcdef.ztst Copy functions using functions -c old new. 2019-08-03 19:53:51 +01:00
C05debug.ztst
comptest 37378: New bindkey tests. 2015-12-10 17:51:41 +00:00
D01prompt.ztst 44030: prompt: Return error for unrecognised colour name 2019-02-03 11:55:40 -06:00
D02glob.ztst 44435: Handling digita arguments for :h and :t. 2019-06-20 11:13:05 +01:00
D03procsubst.ztst 42708: fix for process substitution. 2018-04-24 11:48:11 +01:00
D04parameter.ztst 44664: Fix problem with temporary assignment. 2019-08-14 15:16:59 +01:00
D05array.ztst
D06subscript.ztst 42297: (e) subscript flag needs extra work with scalars 2018-05-14 16:54:19 +01:00
D07multibyte.ztst 40470: make the test work also with ASCII collation 2017-02-01 10:42:45 +09:00
D08cmdsubst.ztst 40995: Don't disable alias expansion when finding command substitution limits 2017-04-23 17:06:26 +01:00
D09brace.ztst 41420: "{.." wasn't check for brace expansion properly 2017-07-13 17:20:24 +01:00
E01options.ztst 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution. 2017-10-13 18:17:09 +01:00
E02xtrace.ztst 39292: Distinguish "=" and "==" tests in output. 2016-09-13 09:42:24 +01:00
Makefile.in 44523: Add ZTST_handler capability. 2019-07-16 10:57:35 +01:00
README
runtests.zsh
V01zmodload.ztst unposted: V01zmodload.ztst needs update for parameter module fix 2018-06-18 15:39:19 +01:00
V02zregexparse.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
V03mathfunc.ztst 43275: Add log2 to match func 2018-08-13 09:36:55 +01:00
V04features.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
V05styles.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
V06parameter.ztst Revert 40626 which broke tests. 2017-02-26 06:11:19 +00:00
V07pcre.ztst 43493: Have V07pcre fail if PCRE was enabled by configure (config.modules) but failed to load for any reason. 2018-09-24 14:15:18 +00:00
V08zpty.ztst 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
V09datetime.ztst 43953: Fix rounding/truncation error in %. time-format specifier 2018-12-29 05:24:25 -06:00
V10private.ztst More [key]=value tweaks 2017-09-14 21:43:37 +01:00
V11db_gdbm.ztst Improve comment at top of GDBM test 2017-03-21 09:57:00 +00:00
V12zparseopts.ztst 44100: zparseopts: Add -F option, completion, tests; improve documentation 2019-03-12 19:03:56 -05:00
W01history.ztst 44435: Handling digita arguments for :h and :t. 2019-06-20 11:13:05 +01:00
W02jobs.ztst 43426: disable job control tests involving suspension. 2018-09-10 13:48:41 +01:00
X02zlevi.ztst 42116: multibyte support for ZLE vi-mode word motion 2017-12-18 12:48:25 +09:00
X03zlebindkey.ztst 42581(?): Fix ZLE inline history expansion. 2018-04-04 18:33:00 +01:00
X04zlehighlight.ztst 44012: X04zlehighlight: Fix spurious test failures on OpenBSD 2019-01-23 20:35:38 -06:00
Y01completion.ztst unposted: Fix bad encoding in previous Y01 test patch 2019-05-08 18:23:33 -05:00
Y02compmatch.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
Y03arguments.ztst 42575: fix to not complete options in the argument to another option 2018-04-05 11:14:58 +02:00
ztst.zsh unposted: ztst.zsh: fix a typo 2019-03-01 14:57:55 +09:00

There are now different sections, expressed by the first letter in the
scripts names:

 A: basic command parsing and execution
 B: builtins
 C: shell commands with special syntax
 D: substititution
 E: options
 V: modules
 W: builtin interactive commands and constructs
 X: line editing
 Y: completion
 Z: separate systems and user contributions

You will need to run these by using `make test' in the Test subdirectory of
the build area for your system (which may or may not be the same as the
Test subdirectory of the source tree), or the directory above.  You can get
more information about the tests being performed with
  ZTST_verbose=1 make check
(`test' is equivalent to `check') or change 1 to 2 for even more detail.

Individual or groups of tests can be performed with
  make TESTNUM=C02 check
or
  make TESTNUM=C check
to perform just the test beginning C02, or all tests beginning C,
respectively.

Instructions on how to write tests are given in B01cd.ztst, which acts as a
model.