1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-18 21:14:11 +01:00
zsh/Test
Wayne Davison fd679250cc Make sure that the (A) assignment of a single-item array retains
its arrayness.  Also ensure that the array/scalar type of each
assigned variable is correct.
2006-02-17 18:29:57 +00:00
..
.cvsignore
.distfiles
A01grammar.ztst
A02alias.ztst
A03quoting.ztst
A04redirect.ztst 21758: optimise =(<<<...) to run within the shell. 2005-09-23 17:03:16 +00:00
A05execution.ztst
A06assign.ztst
B01cd.ztst
B02typeset.ztst Third time's a charm: a better fix than using either a subshell or 2005-08-11 16:25:10 +00:00
B03print.ztst Test both %b and %s in the empty-arg test. 2005-08-09 00:32:58 +00:00
B04read.ztst Test for fix of read with trailing metacharacters 2005-04-25 10:41:25 +00:00
C01arith.ztst
C02cond.ztst
C03traps.ztst 21580: Thorsten's patch to make sure that no pre-existing traps 2005-08-09 07:53:49 +00:00
C04funcdef.ztst
comptest
D01prompt.ztst 21882: extend prompt truncation to handle multibyte characters 2005-10-19 08:39:02 +00:00
D02glob.ztst 21317: fix bug where recursive glob within e qualifier would hang the shell 2005-06-21 08:58:43 +00:00
D03procsubst.ztst
D04parameter.ztst Make sure that the (A) assignment of a single-item array retains 2006-02-17 18:29:57 +00:00
D05array.ztst
D06subscript.ztst 21701: Negative subscripts of scalars before start were broken 2005-09-06 15:28:17 +00:00
E01options.ztst 21576: test for 21575 2005-08-08 17:19:57 +00:00
E02xtrace.ztst
Makefile.in
README
V01zmodload.ztst
V02zregexparse.ztst
V03mathfunc.ztst
Y01completion.ztst
Y02compmatch.ztst
Y03arguments.ztst
ztst.zsh 21862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameter 2005-10-11 16:48:05 +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.