zsh/Test
Peter Stephenson 2f50e20d84 25931: Test for prompt code reentrancy
users/13400: clarify some ksh-like editing issues
2008-10-24 16:00:48 +00:00
..
.cvsignore unposted: cvsignore VIM *.swp files 2003-05-05 06:14:49 +00:00
.distfiles Rocky Bernstein: 25727: allow fc non-interactively 2008-09-23 08:41:54 +00:00
A01grammar.ztst users/12848: return, break, continue in always block override try block 2008-05-11 19:03:58 +00:00
A02alias.ztst unposted: fix alias test in 24736 properly 2008-03-27 09:41:08 +00:00
A03quoting.ztst 24070: some \u fixes in getkeystring() 2007-11-06 20:45:07 +00:00
A04redirect.ztst 24711: fix re-presentation of here-documents munged internally 2008-03-14 11:40:57 +00:00
A05execution.ztst 25415: Make DEBUG_BEFORE_CMD the default. 2008-08-07 16:25:14 +00:00
A06assign.ztst revert 22758 and add LC_NUMERIC and LC_MESSAGES 2006-09-23 06:55:29 +00:00
A07control.ztst 25568: Frank Terbeck & pws: invalid continue and break arguments 2008-08-31 13:35:28 +00:00
B01cd.ztst 17502: Test changes for xtrace in 17492. 2002-08-05 13:10:02 +00:00
B02typeset.ztst 25671: non existing variable in typeset -p should cause status 1 2008-09-15 08:57:25 +00:00
B03print.ztst 23119: lower case in sorting properly 2007-01-22 14:35:12 +00:00
B04read.ztst Test for fix of read with trailing metacharacters 2005-04-25 10:41:25 +00:00
B05eval.ztst 25409: fix eval's use of lastval 2008-08-06 19:51:04 +00:00
B06fc.ztst test needs -f flag to zsh 2008-10-10 10:16:33 +00:00
C01arith.ztst 25905: fix and test doubled-hash radix output 2008-10-16 09:34:51 +00:00
C02cond.ztst 24600: yet another typo 2008-02-26 20:50:11 +00:00
C03traps.ztst 25571: when parsing use line numbers for the start of a token, not the end 2008-08-31 19:50:47 +00:00
C04funcdef.ztst 25255: add anonymous function capability 2008-06-30 10:37:11 +00:00
C05debug.ztst 25791: force return from eval-style DEBUG trap lost status 2008-10-01 11:34:48 +00:00
comptest unposted, c.f. 25848: attempt to sanitize comptest environment 2008-10-12 19:20:00 +00:00
D01prompt.ztst 25931: Test for prompt code reentrancy 2008-10-24 16:00:48 +00:00
D02glob.ztst 24708: Misc/globtests, Src/pattern.c, Test/D02glob.ztst: 2008-03-30 22:14:22 +00:00
D03procsubst.ztst Belated commit of 21064: test case for 21049 2005-04-14 04:41:25 +00:00
D04parameter.ztst 25831: fix empty return values from subscript matches with RC_EXPAND_PARAM 2008-10-09 13:46:45 +00:00
D05array.ztst 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
D06subscript.ztst 25364: fix k flag in hash subscript 2008-07-31 13:53:28 +00:00
D07multibyte.ztst 25911: see if we can work around multibyte problems in file system 2008-10-18 16:03:17 +00:00
D08cmdsubst.ztst 24150: Exit status of null command should be exit status of last cmdsubst. 2007-12-09 23:53:33 +00:00
E01options.ztst 25429: Rocky Bernstein: dont assume PS4 is set to the default 2008-08-11 08:40:56 +00:00
E02xtrace.ztst users/13323: new test wasnt robust about ignoring /etc/zshenv 2008-10-10 17:01:16 +00:00
Makefile.in Rocky: 25907: Makefile needs .exe to run zsh on Cygwin 2008-10-17 08:31:22 +00:00
README 17502: Test changes for xtrace in 17492. 2002-08-05 13:10:02 +00:00
runtests.zsh 24316: count skipped tests differently from successes and failures. 2007-12-25 01:40:16 +00:00
V01zmodload.ztst unposted: test changed needed by foregoing patch 2008-08-13 21:07:02 +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
V04features.ztst see 23479: add initial features support for modules 2007-05-28 23:01:40 +00:00
V05styles.ztst 23537: make style list a hash table 2007-06-08 13:58:40 +00:00
V06parameter.ztst 25595: fix line numbers with EVAL_LINENO, 2008-09-03 09:08:18 +00:00
Y01completion.ztst 19603: Gracefully omit Y tests if zpty is not available 2004-03-11 19:14:38 +00:00
Y02compmatch.ztst Test for matcher fix in 24127 2007-11-28 21:34:09 +00:00
Y03arguments.ztst 19603: Gracefully omit Y tests if zpty is not available 2004-03-11 19:14:38 +00:00
ztst.zsh 24316: count skipped tests differently from successes and failures. 2007-12-25 01:40:16 +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.