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
dana e3cab52ca2 44012: X04zlehighlight: Fix spurious test failures on OpenBSD 5 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 43726: Add tests for semicolon in the middle of a sublist not terminating it. 6 years ago
A02alias.ztst 42146: type -w += global aliases 7 years ago
A03quoting.ztst 41485: test for previous fix 7 years ago
A04redirect.ztst 47201: fix 42355 for multiple backslashes 6 years ago
A05execution.ztst 43945 (tweaked to remove test failure, noted in test): 5 years ago
A06assign.ztst 42101 (tweaked): assigning shell status to array was broken 6 years ago
A07control.ztst 34077: further tests for return status from "for" loops 10 years ago
B01cd.ztst 41284: Fix NULL dereference in cd. 7 years ago
B02typeset.ztst 43616: Various parameter setting and display fixes. 6 years ago
B03print.ztst 42488: test cases for 42369 and address some issues in the code 6 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 41668: New --emulate option on invocation. 7 years ago
B08shift.ztst 32246: option "shift -p" pops arguments from end of array 11 years ago
B09hash.ztst 39949: Special case for "-" in directory names. 8 years ago
B10getopts.ztst 42065: new getopts tests 7 years ago
C01arith.ztst 43944: apply NO_UNSET consistently to arithmeitc 5 years ago
C02cond.ztst 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error. 7 years ago
C03traps.ztst unposted: another couple of tests for previous commit. 6 years ago
C04funcdef.ztst 42624 (plus test): avoid freeing memory that's still needed 6 years ago
C05debug.ztst clean up test temporary files 16 years ago
D01prompt.ztst 43075: Support nanosecond-precision time formatting 6 years ago
D02glob.ztst unposted: Adding comments to test changed line number in output 7 years ago
D03procsubst.ztst 42708: fix for process substitution. 6 years ago
D04parameter.ztst unposted: test for 43938 5 years ago
D05array.ztst 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 17 years ago
D06subscript.ztst 42297: (e) subscript flag needs extra work with scalars 6 years ago
D07multibyte.ztst 40470: make the test work also with ASCII collation 7 years ago
D08cmdsubst.ztst 40995: Don't disable alias expansion when finding command substitution limits 7 years ago
D09brace.ztst 41420: "{.." wasn't check for brace expansion properly 7 years ago
E01options.ztst 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution. 7 years ago
E02xtrace.ztst 39292: Distinguish "=" and "==" tests in output. 8 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 unposted: V01zmodload.ztst needs update for parameter module fix 6 years ago
V02zregexparse.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
V03mathfunc.ztst 43275: Add log2 to match func 6 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 Revert 40626 which broke tests. 7 years ago
V07pcre.ztst 43493: Have V07pcre fail if PCRE was enabled by configure (config.modules) but failed to load for any reason. 6 years ago
V08zpty.ztst 34275: assume zpty can't be used for testing Cygwin 9 years ago
V09datetime.ztst 43953: Fix rounding/truncation error in %. time-format specifier 5 years ago
V10private.ztst More [key]=value tweaks 7 years ago
V11db_gdbm.ztst Improve comment at top of GDBM test 7 years ago
W01history.ztst 34787: Add more history tests 9 years ago
W02jobs.ztst 43426: disable job control tests involving suspension. 6 years ago
X02zlevi.ztst 42116: multibyte support for ZLE vi-mode word motion 7 years ago
X03zlebindkey.ztst 42581(?): Fix ZLE inline history expansion. 6 years ago
X04zlehighlight.ztst 44012: X04zlehighlight: Fix spurious test failures on OpenBSD 5 years ago
Y01completion.ztst 42164: fix digits in format escapes in completion listings 6 years ago
Y02compmatch.ztst 37181: consistent use of zmodload and corresponding ZTST_unimplemented or ZTST_skip 9 years ago
Y03arguments.ztst 42575: fix to not complete options in the argument to another option 6 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 42722: Replace ed with dc in fg/bg tests. 6 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.