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
Peter Stephenson fb3ad98f71 31141: Tighten NO_CLOBBER restrictions on {fd} syntax
to apply only if $fd is exactly an fd and nothing else.
2013-03-10 21:45:04 +00:00
..
.cvsignore unposted: cvsignore VIM *.swp files 2003-05-05 06:14:49 +00:00
.distfiles unposted: 4.3.16 2012-02-19 19:33:19 +00:00
A01grammar.ztst 29025: Test/A01grammar.ztst: in select test, assert LINES=3 to print list 2011-04-22 06:00:27 +00:00
A02alias.ztst unposted: change new test in A02alias.ztst to use cat 2010-03-25 15:13:35 +00:00
A03quoting.ztst 28424: new POSIX_STRINGS option 2010-11-22 11:42:47 +00:00
A04redirect.ztst 31141: Tighten NO_CLOBBER restrictions on {fd} syntax 2013-03-10 21:45:04 +00:00
A05execution.ztst 28475: test that starting background job resets status 2010-12-05 18:33:07 +00:00
A06assign.ztst 30876: fix obscure failures to propagate non-zero status 2012-12-13 10:36:59 +00:00
A07control.ztst 25568: Frank Terbeck & pws: invalid continue and break arguments 2008-08-31 13:35:28 +00:00
B01cd.ztst unposted: fix documentation for "*" test output syntax 2011-12-02 10:37:00 +00:00
B02typeset.ztst 30169: repeat "typeset -T" with same two first arguments is not an error 2012-08-16 14:00:11 +00:00
B03print.ztst 28578: fix handling of numeric escapes that expand to "%" in printf 2011-01-06 16:49:25 +00: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 test needs -f flag to zsh 2008-10-10 10:16:33 +00:00
B07emulate.ztst 30726: make shell options passed to emulate stick along with the emulation 2012-10-11 20:14:01 +00:00
C01arith.ztst users/17665: add FORCE_FLOAT option 2013-03-05 20:04:53 +00:00
C02cond.ztst 30270: don't need errors when testing to see if mtime test will work 2012-02-26 18:54:52 +00:00
C03traps.ztst 30876: fix obscure failures to propagate non-zero status 2012-12-13 10:36:59 +00:00
C04funcdef.ztst 30718: emulate command evaluations should apply sticky emulation 2012-10-07 17:50:18 +00:00
C05debug.ztst clean up test temporary files 2008-12-29 04:24:36 +00:00
comptest 31041: add support for testing line editor widgets from the test suite 2013-02-12 10:55:32 +00:00
D01prompt.ztst 25931: Test for prompt code reentrancy 2008-10-24 16:00:48 +00:00
D02glob.ztst 27723: eval shouldn't modify non-zero return statuses 2010-02-19 12:26:08 +00:00
D03procsubst.ztst this prevent process-based features from working in their arguments 2012-12-21 11:28:33 +00:00
D04parameter.ztst 30993: fix parameter modifier crash with :wq on empty string 2013-01-22 16:28:58 +00: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 28339: backslash-newline history without HIST_LEX_WORDS 2010-10-10 17:51:29 +00:00
D08cmdsubst.ztst 29776: fix case of double quotes in double-quote-style 2011-09-15 14:04:51 +00:00
D09brace.ztst 28474, 28478: extended {START..END..STEP} syntax 2010-12-05 21:07:48 +00:00
E01options.ztst 29955++: IGNORE_CLOSE_BRACES option 2011-12-08 19:42:07 +00:00
E02xtrace.ztst 29367: update tests redirection of stderr. 2011-05-24 15:49:57 +00:00
Makefile.in Paul Ackersviller: 26959: delay before removing test modules 2009-05-13 08:39:47 +00:00
README 17502: Test changes for xtrace in 17492. 2002-08-05 13:10:02 +00:00
runtests.zsh 24316: count skipped tests differently from successes and failures. 2007-12-25 01:40:16 +00:00
V01zmodload.ztst 29410: skip autoload persistence test when zsh/example is not available. 2011-05-31 16:01:38 +00:00
V02zregexparse.ztst
V03mathfunc.ztst 20606: simple verification of pseudorandom numbers 2004-12-07 12:07:54 +00: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 29867: pcre/ZTST_unimplemented change from Bart 2011-10-26 23:28:26 +00:00
X02zlevi.ztst 31041: add support for testing line editor widgets from the test suite 2013-02-12 10:55:32 +00:00
Y01completion.ztst 19603: Gracefully omit Y tests if zpty is not available 2004-03-11 19:14:38 +00:00
Y02compmatch.ztst Test for matcher fix in 24127 2007-11-28 21:34:09 +00:00
Y03arguments.ztst 19603: Gracefully omit Y tests if zpty is not available 2004-03-11 19:14:38 +00:00
ztst.zsh 29924: add ability to match test output using patterns 2011-12-01 21:52:55 +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.