1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-15 14:21:13 +02:00
zsh/Test
2011-08-28 17:06:27 +00:00
..
.cvsignore
.distfiles unposted (late commit): updates for 4.3.11-dev-3 2011-05-13 11:56:40 +00:00
A01grammar.ztst 29025: Test/A01grammar.ztst: in select test, assert LINES=3 to print list 2011-04-22 06:00:27 +00:00
A02alias.ztst unposted: change new test in A02alias.ztst to use cat 2010-03-25 15:13:35 +00:00
A03quoting.ztst 28424: new POSIX_STRINGS option 2010-11-22 11:42:47 +00:00
A04redirect.ztst 29561: missed file 2011-07-27 19:14:16 +00:00
A05execution.ztst 28475: test that starting background job resets status 2010-12-05 18:33:07 +00:00
A06assign.ztst users/15662: array slice assignment with one index positive and one negative. 2010-12-21 16:54:30 +00:00
A07control.ztst
B01cd.ztst 26763: fix problem on failed cd -s to relative path 2009-03-20 22:52:56 +00:00
B02typeset.ztst "typeset -g <var>" should be silent even without TYPESET_SILENT 2008-11-05 13:01:56 +00:00
B03print.ztst 28578: fix handling of numeric escapes that expand to "%" in printf 2011-01-06 16:49:25 +00:00
B04read.ztst 29731: fix read -AE, test that and read -Ae 2011-08-28 17:06:27 +00:00
B05eval.ztst
B06fc.ztst
B07emulate.ztst 26546, 26556: sticky emulation for functions defined in emulate ... -c ... 2009-02-11 20:42:15 +00:00
C01arith.ztst 27611: cache parameter values in math eval so subscripts are eval'd once 2010-01-20 17:17:45 +00:00
C02cond.ztst 28588: fix textual display after =~ test 2011-01-06 20:28:50 +00:00
C03traps.ztst 28253: document -h argument to atribute commands 2010-09-12 18:56:40 +00:00
C04funcdef.ztst 29633: more care with anonymous and other functions 2011-08-03 18:45:17 +00:00
C05debug.ztst clean up test temporary files 2008-12-29 04:24:36 +00:00
compgentest Rocky Bernstein: 29135 (plus tweaks): compgen -W in bash completion 2011-05-04 08:53:53 +00:00
comptest 26301: make zpty -r exit more cleanly on bad reads 2009-01-13 12:09:26 +00:00
D01prompt.ztst 25931: Test for prompt code reentrancy 2008-10-24 16:00:48 +00:00
D02glob.ztst 27723: eval shouldn't modify non-zero return statuses 2010-02-19 12:26:08 +00:00
D03procsubst.ztst 29703: crash when failing to parse process substitutions 2011-08-17 20:26:05 +00:00
D04parameter.ztst users/16253, users/16255: a nulstring should be split like an empty string 2011-08-17 19:00:08 +00:00
D05array.ztst
D06subscript.ztst
D07multibyte.ztst 28339: backslash-newline history without HIST_LEX_WORDS 2010-10-10 17:51:29 +00:00
D08cmdsubst.ztst 27129: fix status at start of function, command subst, etc. 2009-07-11 16:42:53 +00:00
D09brace.ztst 28474, 28478: extended {START..END..STEP} syntax 2010-12-05 21:07:48 +00:00
E01options.ztst 29530: ${...?...} shouldn't cause an error with NO_EXEC option 2011-07-01 15:23:01 +00:00
E02xtrace.ztst 29367: update tests redirection of stderr. 2011-05-24 15:49:57 +00:00
Makefile.in Paul Ackersviller: 26959: delay before removing test modules 2009-05-13 08:39:47 +00:00
README
runtests.zsh
V01zmodload.ztst 29410: skip autoload persistence test when zsh/example is not available. 2011-05-31 16:01:38 +00:00
V02zregexparse.ztst
V03mathfunc.ztst
V04features.ztst fix tests using zsh/datetime that I broke 2011-08-11 19:32:50 +00:00
V05styles.ztst
V06parameter.ztst clean up test temporary files 2008-12-29 04:24:36 +00:00
Y01completion.ztst
Y02compmatch.ztst
Y03arguments.ztst
Y04compgen.ztst Rocky Bernstein: 29135 (plus tweaks): compgen -W in bash completion 2011-05-04 08:53:53 +00:00
ztst.zsh

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.