1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-12-31 07:40:57 +01:00
zsh/Test
2015-05-13 16:17:04 +01:00
..
.cvsignore
.distfiles 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
A01grammar.ztst users/20203: nested functions in always blocks when exit pending 2015-05-13 16:17:04 +01:00
A02alias.ztst 35056: turn off PROMPT_SP for interactive test 2015-05-08 09:36:01 +01:00
A03quoting.ztst
A04redirect.ztst 34901: Test for the previous commit 2015-04-15 21:29:04 +01:00
A05execution.ztst 34065: following an "if" condition, do not test lastval for ERR_EXIT until a new command is run 2014-12-27 21:55:58 -08:00
A06assign.ztst 34064: assignment before command replaces array with export even when KSH_ARRAYS 2014-12-27 22:05:05 -08:00
A07control.ztst 34077: further tests for return status from "for" loops 2015-01-02 21:16:41 +00:00
B01cd.ztst
B02typeset.ztst 35059: fix, document, test readonly -p. 2015-05-08 12:53:18 +01:00
B03print.ztst
B04read.ztst
B05eval.ztst
B06fc.ztst 33686: set PS1 before pattern-matching for it 2014-11-13 09:27:14 -08:00
B07emulate.ztst 34804: refine POSIX_ALIAS change to preserve old behavior of [[ ]] conditionals 2015-03-28 21:08:02 -07:00
B08shift.ztst 32246: option "shift -p" pops arguments from end of array 2014-01-11 19:31:29 +00:00
C01arith.ztst 34892 (slightly tweaked): math evaluation fix 2015-04-15 10:20:06 +01:00
C02cond.ztst 34753: work around NFS problem in tests. 2015-03-20 15:00:02 +00:00
C03traps.ztst
C04funcdef.ztst test for alias expansion in command substitution 2015-01-10 20:36:57 +00:00
C05debug.ztst
comptest 34774: fix %prep and use read from a no-op pipe to force wait for the timeout 2015-03-25 09:57:23 -07:00
D01prompt.ztst
D02glob.ztst 34961: test for breadth-first glob with (Y1) qualifier (originally workers/32726) 2015-04-25 10:39:48 -07:00
D03procsubst.ztst
D04parameter.ztst 35078: Add backslash quoting to parameter (b) flag from 35067. 2015-05-11 09:40:00 +01:00
D05array.ztst
D06subscript.ztst
D07multibyte.ztst 34587: ensure multibyte characters don't overflow. 2015-02-20 16:25:54 +00:00
D08cmdsubst.ztst Fix command substitutions to parse contents as they are read in. 2015-01-08 12:24:00 +00:00
D09brace.ztst users/18298 (tidied up): add {<char>..<char>} expansion 2014-01-09 10:05:13 +00:00
E01options.ztst 34887: Fix POSIX_BUILTINS with assignment. 2015-04-15 09:44:19 +01:00
E02xtrace.ztst
Makefile.in
README
runtests.zsh
V01zmodload.ztst
V02zregexparse.ztst
V03mathfunc.ztst 31902: rationalise use of gamma function. 2013-10-27 00:00:56 +01:00
V04features.ztst
V05styles.ztst
V06parameter.ztst
V07pcre.ztst 34344: fix 34338, pcre builtins need loading too 2015-01-22 10:12:57 -08:00
V08zpty.ztst 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
W01history.ztst 34787: Add more history tests 2015-03-27 10:21:02 +00:00
X02zlevi.ztst 35029: improvements to newline handling for vi-mode word movement 2015-05-04 21:51:06 +02:00
Y01completion.ztst 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
Y02compmatch.ztst 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
Y03arguments.ztst 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
ztst.zsh 32768 with further modifications: LOCAL_LOOPS option. 2014-06-13 21:39:44 +01: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.