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
Peter Stephenson cc6e9db29d 33047: use git to simplify massively source distribution file selection 10 years ago
..
.cvsignore
.distfiles 33047: use git to simplify massively source distribution file selection 10 years ago
A01grammar.ztst 29025: Test/A01grammar.ztst: in select test, assert LINES=3 to print list 13 years ago
A02alias.ztst unposted: change new test in A02alias.ztst to use cat 14 years ago
A03quoting.ztst 28424: new POSIX_STRINGS option 14 years ago
A04redirect.ztst 31141: Tighten NO_CLOBBER restrictions on {fd} syntax 11 years ago
A05execution.ztst timeout the final "read" in hung shell regression 10 years ago
A06assign.ztst 30876: fix obscure failures to propagate non-zero status 12 years ago
A07control.ztst 32711: run "continue" test in a new shell 10 years ago
B01cd.ztst unposted: fix documentation for "*" test output syntax 13 years ago
B02typeset.ztst 30169: repeat "typeset -T" with same two first arguments is not an error 12 years ago
B03print.ztst 28578: fix handling of numeric escapes that expand to "%" in printf 14 years ago
B04read.ztst 29731: fix read -AE, test that and read -Ae 13 years ago
B05eval.ztst
B06fc.ztst
B07emulate.ztst 30726: make shell options passed to emulate stick along with the emulation 12 years ago
B08shift.ztst 32246: option "shift -p" pops arguments from end of array 11 years ago
C01arith.ztst 32299: add use of underscores on arithmetic output for spacing 10 years ago
C02cond.ztst 32609: [[ $var ]] behaves as [[ -n $var ]] for bash/ksh compatibility 10 years ago
C03traps.ztst 30876: fix obscure failures to propagate non-zero status 12 years ago
C04funcdef.ztst 32552 (updated by 32560): fix segfault when using process substitution in anonymous function argument list 10 years ago
C05debug.ztst clean up test temporary files 16 years ago
D01prompt.ztst
D02glob.ztst 32954 plus new test: [[ ... = ...(#q...) ]] shouldn't force a glob. 10 years ago
D03procsubst.ztst 31536 with additions: Fix hang in previous process substitution fix. 11 years ago
D04parameter.ztst 32949 (wip 32928, 32937): Add :^ syntax for zipping two arrays 10 years ago
D05array.ztst
D06subscript.ztst users/17310: we can't treat < after [ as a normal character. 12 years ago
D07multibyte.ztst 28339: backslash-newline history without HIST_LEX_WORDS 14 years ago
D08cmdsubst.ztst 29776: fix case of double quotes in double-quote-style 13 years ago
D09brace.ztst users/18298 (tidied up): add {<char>..<char>} expansion 11 years ago
E01options.ztst 32768 with further modifications: LOCAL_LOOPS option. 10 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
V01zmodload.ztst 31805: Add $patchars and $dis_patchars to zsh/parameter module 11 years ago
V02zregexparse.ztst
V03mathfunc.ztst 31902: rationalise use of gamma function. 11 years ago
V04features.ztst fix tests using zsh/datetime that I broke 13 years ago
V05styles.ztst
V06parameter.ztst clean up test temporary files 16 years ago
V07pcre.ztst 29867: pcre/ZTST_unimplemented change from Bart 13 years ago
V08zpty.ztst 31672: Add test that was failing and fix zpty set-up race 11 years ago
X02zlevi.ztst 32497: avoid using comptesteval in the middle of a series of tests 10 years ago
Y01completion.ztst unposted: move path assignment from comptest to Y01completion.ztst 11 years ago
Y02compmatch.ztst
Y03arguments.ztst
comptest 32497: avoid using comptesteval in the middle of a series of tests 10 years ago
runtests.zsh
ztst.zsh 32768 with further modifications: LOCAL_LOOPS option. 10 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.