1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-04 14:31:24 +02:00
zsh/Test
2023-09-27 23:45:00 +09:00
..
.cvsignore
.distfiles
A01grammar.ztst 51608: Don't execute commands after "continue &&" 2023-03-29 10:52:05 +01:00
A02alias.ztst 51307: Improve error on attempt to define function from aliased name 2023-02-02 10:09:21 +00:00
A03quoting.ztst
A04redirect.ztst
A05execution.ztst
A06assign.ztst
A07control.ztst
B01cd.ztst
B02typeset.ztst
B03print.ztst
B04read.ztst 51214: handle read -d and a delimiter that can't be decoded into a character 2022-12-17 00:37:19 +01:00
B05eval.ztst
B06fc.ztst
B07emulate.ztst
B08shift.ztst 32246: option "shift -p" pops arguments from end of array 2014-01-11 19:31:29 +00:00
B09hash.ztst
B10getopts.ztst
B11kill.ztst
B12limit.ztst
B13whence.ztst
C01arith.ztst
C02cond.ztst 51692: not skip tests for [[ -r/-N file ]] on Cygwin 2023-05-08 12:53:37 +09:00
C03traps.ztst 51652: fix running of TRAPEXIT explicitly. 2023-04-17 09:30:34 +01:00
C04funcdef.ztst
C05debug.ztst clean up test temporary files 2008-12-29 04:24:36 +00:00
comptest 51860: simplify suffix handling in _prefix to remove less accurate hack 2023-06-22 13:13:09 -07:00
D01prompt.ztst 51320, 51383: fixes to prevent later reappearance of old attributes 2023-02-09 00:10:19 +01:00
D02glob.ztst 52008: Pattern bug with branches + exclusion 2023-08-01 14:32:55 +01:00
D03procsubst.ztst
D04parameter.ztst 52188: skip tests that fail if multibyte is not available 2023-09-27 23:45:00 +09:00
D05array.ztst
D06subscript.ztst 51278: make (i) subscript flag for zero-length string consistent 2023-01-16 11:10:02 +00:00
D07multibyte.ztst 51214: handle read -d and a delimiter that can't be decoded into a character 2022-12-17 00:37:19 +01:00
D08cmdsubst.ztst users/28338: command substitution with alias edge case. 2022-11-08 14:12:01 +00:00
D09brace.ztst 50668: treat 8bit chars correctly when multibyte is unset 2022-09-27 15:20:24 +09:00
D10nofork.ztst 52155: Test file missed out from previous commit 2023-09-16 20:03:32 -07:00
E01options.ztst users/29160, workers/52156: Fix repetition of substitution modifier. 2023-09-16 20:51:27 -07:00
E02xtrace.ztst
E03posix.ztst 50043: avoid spurious test failures when "make check" as root 2022-04-11 15:45:42 -07:00
K01nameref.ztst 51945: assorted documentation improvements, bug fixes, and new test 2023-07-26 20:15:21 -07:00
K02parameter.ztst 51887: namespaces recognized in math, incorrect usages rejected. 2023-06-22 13:36:40 -07:00
list-XFails
Makefile.in
P01privileged.ztst
README 51374: Expose named references in $parameters, fix substitution error. 2023-02-12 11:29:10 -08:00
runtests.zsh 48560: add TYPESET_TO_UNSET option to remove initialization of parameters 2021-04-18 13:58:09 -07:00
V01zmodload.ztst
V02zregexparse.ztst
V03mathfunc.ztst
V04features.ztst
V05styles.ztst
V06parameter.ztst
V07pcre.ztst 51738: support pcre's alternative DFA matching algorithm 2023-05-13 00:59:00 +02:00
V08zpty.ztst 47849: do not skip tests requiring zpty on Cygwin 2021-01-20 13:49:42 +09:00
V09datetime.ztst
V10private.ztst 52115: permit repeated "private" declarations as long as types aren't changed 2023-09-05 18:04:09 -07:00
V11db_gdbm.ztst
V12zparseopts.ztst
V13zformat.ztst
V14system.ztst
W01history.ztst
W02jobs.ztst
W03jobparameters.ztst
X02zlevi.ztst
X03zlebindkey.ztst
X04zlehighlight.ztst 51320, 51383: fixes to prevent later reappearance of old attributes 2023-02-09 00:10:19 +01:00
Y01completion.ztst 51860: simplify suffix handling in _prefix to remove less accurate hack 2023-06-22 13:13:09 -07:00
Y02compmatch.ztst
Y03arguments.ztst
Z01is-at-least.ztst
Z02zmathfunc.ztst
Z03run-help.ztst
ztst.zsh

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
 K: features adopted from ksh
 P: privileged (needs super-user privileges)
 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.

A test file is usually aborted on the first error.  To continue to the
end, run with
  ZTST_continue=1 make check
This can usefully be combined with ZTST_verbose.  The test is always
aborted on a syntax error as in that case it is not obvoius how to
continue.

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.