1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 21:44:11 +01:00
zsh/Test
Peter Stephenson 05b06b1c08 fix autoloaded trap bug; rejig use of trapfuncs
(now traplists); improve trap tests
2005-02-06 20:36:09 +00:00
..
.cvsignore unposted: cvsignore VIM *.swp files 2003-05-05 06:14:49 +00:00
.distfiles 20126: tidy up before 4.2.1 2004-07-02 15:59:07 +00:00
A01grammar.ztst 20076, 20084: { ... } always { ... } syntax. 2004-06-22 13:09:55 +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 moved from ./Test/03quoting.ztst 2001-04-02 12:30:47 +00:00
A04redirect.ztst 20112: Forgot this bit. 2004-06-30 10:01:05 +00:00
A05execution.ztst 20221: $LINENO in trap '...' DEBUG was wrong. 2004-07-29 15:09:51 +00:00
A06assign.ztst Test -nt and FOO=BAR BAR=FOO echo bugs 2005-02-02 17:03:50 +00:00
B01cd.ztst 17502: Test changes for xtrace in 17492. 2002-08-05 13:10:02 +00:00
B02typeset.ztst 20605: Use separate structure with get/set/unset methods fro parameters. 2004-12-07 16:54:58 +00:00
B03print.ztst 19549: correct buffer size for printf spec 2004-03-07 13:29:49 +00:00
B04read.ztst 18836: read with metafied delimiter didn't work. 2003-07-09 11:04:01 +00:00
C01arith.ztst 20599: test for $((##)) should now check for error 2004-11-30 14:14:51 +00:00
C02cond.ztst Test -nt and FOO=BAR BAR=FOO echo bugs 2005-02-02 17:03:50 +00:00
C03traps.ztst fix autoloaded trap bug; rejig use of trapfuncs 2005-02-06 20:36:09 +00:00
C04funcdef.ztst moved from ./Test/09funcdef.ztst 2001-04-02 12:32:58 +00:00
comptest Assorted "make check" tweaks. 2001-06-25 03:06:33 +00:00
D01prompt.ztst 15334: use string "(eval)" as script name in debugging messages in eval's 2001-07-09 18:31:24 +00:00
D02glob.ztst 20522: must-match optimisation in parameter substitution broken 2004-10-26 17:20:21 +00:00
D03procsubst.ztst 18492: Provide partial fix for multios and output process substitution 2003-05-02 10:25:27 +00:00
D04parameter.ztst 18565: bug when ${(u)...} reduced array to length 1 2003-05-21 16:20:54 +00:00
D05array.ztst 19707: negative index into arrays should return scalar and not one element array 2004-03-30 16:35:30 +00:00
D06subscript.ztst Adjust test for new typeset restrictions. 2001-08-13 17:45:03 +00:00
E01options.ztst Tests for EVAL_LINENO and for "command" used with POSIX_BUILTINS. 2004-09-09 15:03:31 +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 Module dependencies for unloading in tests. 2001-09-28 14:43:13 +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
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
ztst.zsh 20698: Fix tail for POSIX conformance 2005-01-13 10:34:17 +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.