You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
zsh/Test
Daniel Shahaf 1d9c6a746c 37752: More tests for the previous patch. 8 years ago
..
.cvsignore unposted: cvsignore VIM *.swp files 21 years ago
.distfiles 33047: use git to simplify massively source distribution file selection 10 years ago
A01grammar.ztst 35953: fix handling of command substitution in math context 9 years ago
A02alias.ztst 37591: 'alias -L': skip with a warning aliases with '=' in their LHS 8 years ago
A03quoting.ztst 28424: new POSIX_STRINGS option 14 years ago
A04redirect.ztst 36399: Shell code text with multiple here documents wasn't shown properly. 9 years ago
A05execution.ztst 36393: process queued signals during dotrap() 9 years ago
A06assign.ztst 37257 (in part): Add array assignment tests. 9 years ago
A07control.ztst 34077: further tests for return status from "for" loops 10 years ago
B01cd.ztst 37205: update documentary comment 9 years ago
B02typeset.ztst 37646: bit missed out of previous readonly commit. 8 years ago
B03print.ztst 37501 (+ revise test): correct byte counts when simulating memstream via temp file 8 years ago
B04read.ztst 29731: fix read -AE, test that and read -Ae 13 years ago
B05eval.ztst 25409: fix eval's use of lastval 16 years ago
B06fc.ztst 33686: set PS1 before pattern-matching for it 10 years ago
B07emulate.ztst 34804: refine POSIX_ALIAS change to preserve old behavior of [[ ]] conditionals 9 years ago
B08shift.ztst 32246: option "shift -p" pops arguments from end of array 11 years ago
B09hash.ztst 37188: New hash builtin test 9 years ago
C01arith.ztst 37489, tweaked: with POSIX_IDENTIFIERS create math var as scalar 8 years ago
C02cond.ztst 37722: test builtin should return status 2 on syntax error 8 years ago
C03traps.ztst unposted: back out 36707, add test case for 36766 9 years ago
C04funcdef.ztst 37765: Use FS_FUNC on fucstack to find autoload -X target. 8 years ago
C05debug.ztst clean up test temporary files 16 years ago
D01prompt.ztst various posts: Implement assignment parsing for typeset. 9 years ago
D02glob.ztst 37689: ! and ^ need to be tokenised in character sets 8 years ago
D03procsubst.ztst 35873: add original test for process substitution deadlock from 35847 9 years ago
D04parameter.ztst 37752: More tests for the previous patch. 8 years ago
D05array.ztst 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 17 years ago
D06subscript.ztst 37128: work around alias expansion trashing subscript parsing 9 years ago
D07multibyte.ztst 37348: Tests and fix for ${(q+)...}. 9 years ago
D08cmdsubst.ztst 35667: fix command substitution that starts but doesn't finish in alias 9 years ago
D09brace.ztst users/18298 (tidied up): add {<char>..<char>} expansion 11 years ago
E01options.ztst 37303: test WARN_CREATE_GLOBAL negative cases. 9 years ago
E02xtrace.ztst 31810: tests for simple XTRACE output from conditions 11 years ago
Makefile.in Paul Ackersviller: 26959: delay before removing test modules 15 years ago
README 17502: Test changes for xtrace in 17492. 22 years ago
V01zmodload.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
V02zregexparse.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
V03mathfunc.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
V04features.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
V05styles.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
V06parameter.ztst clean up test temporary files 16 years ago
V07pcre.ztst Jun T.: 37515: multibyte handling as per 35448. 8 years ago
V08zpty.ztst 34275: assume zpty can't be used for testing Cygwin 9 years ago
V09datetime.ztst 37344: restore old printable quoting, add ${(q+)...}. 9 years ago
V10private.ztst 37305: typeset -p can now output arrays on one line 9 years ago
W01history.ztst 34787: Add more history tests 9 years ago
X02zlevi.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
X03zlebindkey.ztst 37460: make sure the default keymap is emacs before using that keymap to test bindings 9 years ago
Y01completion.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
Y02compmatch.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
Y03arguments.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
comptest 37378: New bindkey tests. 9 years ago
runtests.zsh 24316: count skipped tests differently from successes and failures. 17 years ago
ztst.zsh 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago

README

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.