1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-08 12:01:21 +02:00
zsh/Test
Peter Stephenson 225b35c907 43261: Fix unary minus with base.
Apply unary minus to a complete lexical constant rather than the
first component that comes along.
2018-08-08 17:11:54 +01:00
..
.cvsignore
.distfiles
A01grammar.ztst add millisecond and microsecond options to TIMEFMT variable 2017-12-14 15:36:46 +00:00
A02alias.ztst 42146: type -w += global aliases 2017-12-20 05:43:42 +00:00
A03quoting.ztst
A04redirect.ztst 47201: fix 42355 for multiple backslashes 2018-04-29 12:05:39 -07:00
A05execution.ztst
A06assign.ztst 42101 (tweaked): assigning shell status to array was broken 2018-05-11 09:29:14 +01:00
A07control.ztst
B01cd.ztst
B02typeset.ztst Add typeset -p1, like typeset -p with newlines 2017-10-01 17:53:56 +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
B07emulate.ztst
B08shift.ztst
B09hash.ztst
B10getopts.ztst 42065: new getopts tests 2017-12-01 09:51:17 +00:00
C01arith.ztst 43261: Fix unary minus with base. 2018-08-08 17:11:54 +01: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 users/23531: Error exit/return fixes. 2018-07-09 11:07:53 +01:00
C04funcdef.ztst 42624 (plus test): avoid freeing memory that's still needed 2018-04-12 23:15:29 +02:00
C05debug.ztst
comptest
D01prompt.ztst 43075: Support nanosecond-precision time formatting 2018-06-20 17:29:56 -05:00
D02glob.ztst
D03procsubst.ztst 42708: fix for process substitution. 2018-04-24 11:48:11 +01:00
D04parameter.ztst 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES is set 2017-10-17 20:29:47 -07:00
D05array.ztst
D06subscript.ztst 42297: (e) subscript flag needs extra work with scalars 2018-05-14 16:54:19 +01:00
D07multibyte.ztst
D08cmdsubst.ztst
D09brace.ztst
E01options.ztst 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution. 2017-10-13 18:17:09 +01:00
E02xtrace.ztst
Makefile.in
README
runtests.zsh
V01zmodload.ztst unposted: V01zmodload.ztst needs update for parameter module fix 2018-06-18 15:39:19 +01:00
V02zregexparse.ztst
V03mathfunc.ztst 42488: test cases for 42369 and address some issues in the code 2018-05-13 10:13:42 +02:00
V04features.ztst
V05styles.ztst
V06parameter.ztst
V07pcre.ztst
V08zpty.ztst
V09datetime.ztst
V10private.ztst More [key]=value tweaks 2017-09-14 21:43:37 +01:00
V11db_gdbm.ztst
W01history.ztst
W02jobs.ztst c.f. 42726: Back off fg and bg tests. 2018-04-26 09:42:25 +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
Y01completion.ztst 42164: fix digits in format escapes in completion listings 2018-01-04 17:16:18 +00:00
Y02compmatch.ztst
Y03arguments.ztst 42575: fix to not complete options in the argument to another option 2018-04-05 11:14:58 +02:00
ztst.zsh 42722: Replace ed with dc in fg/bg tests. 2018-04-25 18:16:02 +01: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.