1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-02 22:11:54 +02:00
zsh/Test
Barton E. Schaefer 32b4cb0e73 34734: further aliasing adjustments and doc
restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior

2015-03-18  Peter Stephenson  <p.stephenson@samsung.com>

	* 34723: configure.ac: turn off fixed site function directory if
2015-03-18 18:01:54 -07:00
..
.cvsignore
.distfiles 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01: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 34734: further aliasing adjustments and doc 2015-03-18 18:01:54 -07:00
A03quoting.ztst 28424: new POSIX_STRINGS option 2010-11-22 11:42:47 +00:00
A04redirect.ztst users/19756: test for case of closing fd with no error message 2015-01-20 11:53:42 +00: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 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
B06fc.ztst 33686: set PS1 before pattern-matching for it 2014-11-13 09:27:14 -08:00
B07emulate.ztst 30726: make shell options passed to emulate stick along with the emulation 2012-10-11 20:14:01 +00:00
B08shift.ztst 32246: option "shift -p" pops arguments from end of array 2014-01-11 19:31:29 +00:00
C01arith.ztst 34606: fix up nested arithmetic substitution 2015-02-22 21:32:08 +00:00
C02cond.ztst 32609: [[ $var ]] behaves as [[ -n $var ]] for bash/ksh compatibility 2014-05-13 08:16:50 -07:00
C03traps.ztst 30876: fix obscure failures to propagate non-zero status 2012-12-13 10:36:59 +00: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 33829: unbind ESC~ as a more reliable workaround 2014-12-07 16:31:48 +09:00
D01prompt.ztst
D02glob.ztst users/19059 based on users/19058: remove ineffiency with multiple * matches 2014-09-08 16:38:51 +01:00
D03procsubst.ztst 31536 with additions: Fix hang in previous process substitution fix. 2013-07-19 12:09:32 +01:00
D04parameter.ztst 34546: further $_ with anon function fix. 2015-02-13 21:31:31 +00:00
D05array.ztst
D06subscript.ztst users/17310: we can't treat < after [ as a normal character. 2012-10-03 18:11:12 +00:00
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 34530: PRINT_EXIT_VALUE with anonymous functions. 2015-02-16 12:37:38 +00: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
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
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
X02zlevi.ztst 34283: test X02 also needs zpty and shouldn't run on Cygwin 2015-01-14 17:34:02 +00: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.