1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 17:24:50 +01:00
zsh/Test
2016-04-29 13:14:10 -07:00
..
.cvsignore
.distfiles
A01grammar.ztst
A02alias.ztst 37591: 'alias -L': skip with a warning aliases with '=' in their LHS 2016-01-13 01:25:46 +00:00
A03quoting.ztst users/21352: ensure $'' doesn't get elided. 2016-03-07 09:44:54 +00:00
A04redirect.ztst
A05execution.ztst
A06assign.ztst 37257 (in part): Add array assignment tests. 2015-12-19 09:53:05 +00:00
A07control.ztst
B01cd.ztst 37205: update documentary comment 2015-11-23 11:27:22 -08:00
B02typeset.ztst 37646: bit missed out of previous readonly commit. 2016-01-19 09:49:40 +00:00
B03print.ztst 37501 (+ revise test): correct byte counts when simulating memstream via temp file 2016-01-04 22:29:37 -08:00
B04read.ztst
B05eval.ztst
B06fc.ztst
B07emulate.ztst
B08shift.ztst
B09hash.ztst 37188: New hash builtin test 2015-11-22 16:53:57 +00:00
C01arith.ztst 37489, tweaked: with POSIX_IDENTIFIERS create math var as scalar 2016-01-03 18:57:10 +00:00
C02cond.ztst 38358: "fgrep --" for noatime check in case a mount point is named "-" 2016-04-29 13:14:10 -07:00
C03traps.ztst 38094: Fix POSIX EXIT traps defined in function. 2016-03-07 09:42:21 +00:00
C04funcdef.ztst 37765: Use FS_FUNC on fucstack to find autoload -X target. 2016-01-25 16:23:16 +00:00
C05debug.ztst
comptest 37378: New bindkey tests. 2015-12-10 17:51:41 +00:00
D01prompt.ztst
D02glob.ztst 37689: ! and ^ need to be tokenised in character sets 2016-01-19 17:24:12 +00:00
D03procsubst.ztst
D04parameter.ztst 37752: More tests for the previous patch. 2016-01-29 09:14:54 +00:00
D05array.ztst
D06subscript.ztst
D07multibyte.ztst 37348: Tests and fix for ${(q+)...}. 2015-12-08 15:08:24 +00:00
D08cmdsubst.ztst
D09brace.ztst
E01options.ztst 37914: reparse associative array subscripts in "unset" so keys with "[" or "]" may be backslash-escaped 2016-02-08 20:52:11 -08:00
E02xtrace.ztst
Makefile.in
README
runtests.zsh
V01zmodload.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
V02zregexparse.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
V03mathfunc.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
V04features.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
V05styles.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
V06parameter.ztst
V07pcre.ztst Mikael Berthe: 38307: PCRE segfault when parenthesized group matches nothing 2016-04-23 14:20:16 -07:00
V08zpty.ztst
V09datetime.ztst 37344: restore old printable quoting, add ${(q+)...}. 2015-12-07 21:49:07 +00:00
V10private.ztst 37305: typeset -p can now output arrays on one line 2015-12-04 15:39:53 +00:00
W01history.ztst
X02zlevi.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
X03zlebindkey.ztst 37460: make sure the default keymap is emacs before using that keymap to test bindings 2015-12-30 17:22:37 -08:00
Y01completion.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
Y02compmatch.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
Y03arguments.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08:00
ztst.zsh 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 2015-11-21 23:56:25 -08: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.