zsh/Test
Peter Stephenson 9471bbcfa0 22934, modified, see 22937: add HIST_SUBST_PATTERN option
make ${.../#%...} anchor at both ends
2006-11-01 12:25:18 +00:00
..
.cvsignore unposted: cvsignore VIM *.swp files 2003-05-05 06:14:49 +00:00
.distfiles unposted: update .distfiles 2006-07-18 09:25:50 +00:00
A01grammar.ztst 21131: exit with status 127 when script not found 2005-04-11 10:23:55 +00:00
A02alias.ztst 15334: use string "(eval)" as script name in debugging messages in eval's 2001-07-09 18:31:24 +00:00
A03quoting.ztst moved from ./Test/03quoting.ztst 2001-04-02 12:30:47 +00:00
A04redirect.ztst 22550: put "exec" tests 2006-07-12 12:02:51 +00:00
A05execution.ztst 20221: $LINENO in trap '...' DEBUG was wrong. 2004-07-29 15:09:51 +00:00
A06assign.ztst revert 22758 and add LC_NUMERIC and LC_MESSAGES 2006-09-23 06:55:29 +00:00
B01cd.ztst 17502: Test changes for xtrace in 17492. 2002-08-05 13:10:02 +00:00
B02typeset.ztst 22518: Initial go at making parameter subscripts 2006-06-26 18:17:31 +00:00
B03print.ztst revert 22758 and add LC_NUMERIC and LC_MESSAGES 2006-09-23 06:55:29 +00:00
B04read.ztst Test for fix of read with trailing metacharacters 2005-04-25 10:41:25 +00:00
C01arith.ztst 22686: unset array if assigning numeric parameter 2006-09-11 11:09:15 +00:00
C02cond.ztst Test -nt and FOO=BAR BAR=FOO echo bugs 2005-02-02 17:03:50 +00:00
C03traps.ztst 22277: missed bit 2006-03-03 22:09:58 +00:00
C04funcdef.ztst 22416, tweaked: math functions via shell functions 2006-04-19 16:09:06 +00:00
comptest Assorted "make check" tweaks. 2001-06-25 03:06:33 +00:00
D01prompt.ztst 21882: extend prompt truncation to handle multibyte characters 2005-10-19 08:39:02 +00:00
D02glob.ztst 22557: turn on multibyte option by default 2006-07-25 18:10:37 +00:00
D03procsubst.ztst Belated commit of 21064: test case for 21049 2005-04-14 04:41:25 +00:00
D04parameter.ztst 22705: make ${(l...)...} and ${(r...)...} handle multibyte characters 2006-09-13 20:55:29 +00:00
D05array.ztst 19707: negative index into arrays should return scalar and not one element array 2004-03-30 16:35:30 +00:00
D06subscript.ztst 21701: Negative subscripts of scalars before start were broken 2005-09-06 15:28:17 +00:00
D07multibyte.ztst 22705: make ${(l...)...} and ${(r...)...} handle multibyte characters 2006-09-13 20:55:29 +00:00
E01options.ztst 22934, modified, see 22937: add HIST_SUBST_PATTERN option 2006-11-01 12:25:18 +00:00
E02xtrace.ztst 17502: Test changes for xtrace in 17492. 2002-08-05 13:10:02 +00:00
Makefile.in 20198: fix TRAPEXIT. 2004-07-26 13:18:07 +00:00
README 17502: Test changes for xtrace in 17492. 2002-08-05 13:10:02 +00:00
V01zmodload.ztst 20959: fix crash unloading zsh/parameter and test the fix 2005-03-10 17:55:37 +00:00
V02zregexparse.ztst moved from ./Test/52zregexparse.ztst 2001-04-02 12:34:58 +00:00
V03mathfunc.ztst 20606: simple verification of pseudorandom numbers 2004-12-07 12:07:54 +00:00
Y01completion.ztst 19603: Gracefully omit Y tests if zpty is not available 2004-03-11 19:14:38 +00:00
Y02compmatch.ztst 19603: Gracefully omit Y tests if zpty is not available 2004-03-11 19:14:38 +00:00
Y03arguments.ztst 19603: Gracefully omit Y tests if zpty is not available 2004-03-11 19:14:38 +00:00
ztst.zsh revert 22758 and add LC_NUMERIC and LC_MESSAGES 2006-09-23 06:55:29 +00: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.