1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-05-26 01:46:08 +02:00
zsh/Test
Peter Stephenson 4be5febd94 23606: make all module feature autoloads pass through one function 2007-06-26 19:38:34 +00:00
..
.cvsignore unposted: cvsignore VIM *.swp files 2003-05-05 06:14:49 +00:00
.distfiles 23131: new tests for command substitution 2007-01-24 10:19:49 +00:00
A01grammar.ztst 23486: use {fd} syntax to get fd's for tests 2007-05-29 14:50:28 +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 23138: further tweak to backslashes in $'...' 2007-01-27 23:52:13 +00:00
A04redirect.ztst 22550: put "exec" tests 2006-07-12 12:02:51 +00:00
A05execution.ztst 22981: Zvi Har'el: bad call from 22952 2006-11-08 10:38:05 +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 see 23479: add initial features support for modules 2007-05-28 22:57:39 +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
C01arith.ztst not 23562 but should have been: test correction 2007-06-18 13:39:56 +00:00
C02cond.ztst 23070: Fix [[ -N file ]] test failure on NFS 2006-12-19 12:09:46 +00:00
C03traps.ztst 23486: use {fd} syntax to get fd's for tests 2007-05-29 14:50:28 +00:00
C04funcdef.ztst 22416, tweaked: math functions via shell functions 2006-04-19 16:09:06 +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 23273: fix bad patterns in reverse array subscripting 2007-04-13 11:54:16 +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 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
D07multibyte.ztst 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
D08cmdsubst.ztst 23131: new tests for command substitution 2007-01-24 10:19:49 +00:00
E01options.ztst 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +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 23606: make all module feature autoloads pass through one function 2007-06-26 19:38:34 +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
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
comptest Assorted "make check" tweaks. 2001-06-25 03:06:33 +00:00
ztst.zsh 23486: use {fd} syntax to get fd's for tests 2007-05-29 14:50:28 +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.