1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00
zsh/Test
2015-08-10 13:55:25 +01:00
..
.cvsignore
.distfiles 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
A01grammar.ztst 35953: fix handling of command substitution in math context 2015-07-29 22:36:45 -07:00
A02alias.ztst 35193: Add "unalias -a". 2015-05-18 16:57:08 +01:00
A03quoting.ztst 28424: new POSIX_STRINGS option 2010-11-22 11:42:47 +00:00
A04redirect.ztst 34901: Test for the previous commit 2015-04-15 21:29:04 +01:00
A05execution.ztst 36045: make effect of failures in wait test clearer 2015-08-10 13:55:25 +01:00
A06assign.ztst 35581, 35582: output array assignments with spaces inside the parens 2015-07-22 12:43:09 -07:00
A07control.ztst 34077: further tests for return status from "for" loops 2015-01-02 21:16:41 +00:00
B01cd.ztst unposted: Typo 2015-07-12 02:53:04 +00:00
B02typeset.ztst fix another test for 35581 2015-07-22 12:57:29 -07:00
B03print.ztst 35412: fix for - flag when formating strings with printf 2015-06-07 23:07:26 +02:00
B04read.ztst 29731: fix read -AE, test that and read -Ae 2011-08-28 17:06:27 +00:00
B05eval.ztst 25409: fix eval's use of lastval 2008-08-06 19:51:04 +00:00
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 35359: Improved math parsing and errors. 2015-06-02 10:21:55 +01:00
C02cond.ztst 35760: Add ZTST_skip to test system 2015-07-10 14:47:19 +01:00
C03traps.ztst unposted: add tests for outputting traps specified via aliases 2015-08-09 21:53:05 +02:00
C04funcdef.ztst test for alias expansion in command substitution 2015-01-10 20:36:57 +00:00
C05debug.ztst clean up test temporary files 2008-12-29 04:24:36 +00:00
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 various posts: Implement assignment parsing for typeset. 2015-06-24 10:21:12 +01:00
D02glob.ztst 34961: test for breadth-first glob with (Y1) qualifier (originally workers/32726) 2015-04-25 10:39:48 -07:00
D03procsubst.ztst 35873: add original test for process substitution deadlock from 35847 2015-07-23 10:08:19 +01:00
D04parameter.ztst Fix retying variables in opposite order. 2015-08-09 19:10:01 +01:00
D05array.ztst 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
D06subscript.ztst users/17310: we can't treat < after [ as a normal character. 2012-10-03 18:11:12 +00:00
D07multibyte.ztst unposted: another ZTST_skip 2015-07-10 15:50:01 +01:00
D08cmdsubst.ztst 35667: fix command substitution that starts but doesn't finish in alias 2015-07-01 21:44:50 +01:00
D09brace.ztst users/18298 (tidied up): add {<char>..<char>} expansion 2014-01-09 10:05:13 +00:00
E01options.ztst 35805: tests for 35799 2015-07-16 13:52:16 -07:00
E02xtrace.ztst 31810: tests for simple XTRACE output from conditions 2013-10-10 17:45:42 +01:00
Makefile.in Paul Ackersviller: 26959: delay before removing test modules 2009-05-13 08:39:47 +00:00
README
runtests.zsh 24316: count skipped tests differently from successes and failures. 2007-12-25 01:40:16 +00:00
V01zmodload.ztst 31805: Add $patchars and $dis_patchars to zsh/parameter module 2013-10-11 14:57:57 +02:00
V02zregexparse.ztst
V03mathfunc.ztst 31902: rationalise use of gamma function. 2013-10-27 00:00:56 +01:00
V04features.ztst fix tests using zsh/datetime that I broke 2011-08-11 19:32:50 +00:00
V05styles.ztst 23537: make style list a hash table 2007-06-08 13:58:40 +00:00
V06parameter.ztst clean up test temporary files 2008-12-29 04:24:36 +00:00
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
V09datetime.ztst 35761: Make sure to skip alternate format extension test properly 2015-07-10 20:24:59 +02: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 35760: Add ZTST_skip to test system 2015-07-10 14:47:19 +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.