1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-07 21:31:17 +02:00
zsh/Test
Peter Stephenson 2920c227d3 25677: add %x and %I prompt escapes for shell source code debugging
tidy up interface to doshfunc()
2008-09-16 15:02:01 +00:00
..
.cvsignore
.distfiles 25571: when parsing use line numbers for the start of a token, not the end 2008-08-31 19:50:47 +00:00
A01grammar.ztst
A02alias.ztst
A03quoting.ztst
A04redirect.ztst
A05execution.ztst 25415: Make DEBUG_BEFORE_CMD the default. 2008-08-07 16:25:14 +00:00
A06assign.ztst
A07control.ztst 25568: Frank Terbeck & pws: invalid continue and break arguments 2008-08-31 13:35:28 +00:00
B01cd.ztst
B02typeset.ztst 25671: non existing variable in typeset -p should cause status 1 2008-09-15 08:57:25 +00:00
B03print.ztst
B04read.ztst
B05eval.ztst
C01arith.ztst
C02cond.ztst
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
C05debug.ztst 25615: $ZSH_DEBUG_CMD for use in DEBUG traps 2008-09-05 09:05:21 +00:00
comptest
D01prompt.ztst
D02glob.ztst
D03procsubst.ztst
D04parameter.ztst 25627: add $ZSH_SUBSHELL 2008-09-05 21:02:08 +00:00
D05array.ztst
D06subscript.ztst
D07multibyte.ztst
D08cmdsubst.ztst
E01options.ztst 25429: Rocky Bernstein: dont assume PS4 is set to the default 2008-08-11 08:40:56 +00:00
E02xtrace.ztst 25677: add %x and %I prompt escapes for shell source code debugging 2008-09-16 15:02:01 +00:00
Makefile.in
README
runtests.zsh
V01zmodload.ztst unposted: test changed needed by foregoing patch 2008-08-13 21:07:02 +00:00
V02zregexparse.ztst
V03mathfunc.ztst
V04features.ztst
V05styles.ztst
V06parameter.ztst 25595: fix line numbers with EVAL_LINENO, 2008-09-03 09:08:18 +00:00
Y01completion.ztst
Y02compmatch.ztst
Y03arguments.ztst
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.