1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-07-03 02:01:25 +02:00
zsh/Test
2017-05-09 21:02:34 +01:00
..
.cvsignore
.distfiles
A01grammar.ztst 41020: Fix "command -p"; "-p" was incorrectly left in command arguments 2017-04-28 10:22:43 +01:00
A02alias.ztst 40306 with doc tweaks: Change behaviour expanding alias in () function definition. 2017-01-10 19:14:26 +00:00
A03quoting.ztst users/21352: ensure $'' doesn't get elided. 2016-03-07 09:44:54 +00:00
A04redirect.ztst 40173: Off-by-one error checking for {varid}. 2017-05-08 18:00:55 +01:00
A05execution.ztst unposted: tests for 39839, 39844 2016-11-05 21:37:23 -07:00
A06assign.ztst 40781: optimize array assignment, similar to 39995 for string assignment 2017-03-04 15:35:19 -08:00
A07control.ztst 34077: further tests for return status from "for" loops 2015-01-02 21:16:41 +00:00
B01cd.ztst 37205: update documentary comment 2015-11-23 11:27:22 -08:00
B02typeset.ztst 40110: attempt to fix test failures on Solaris 2016-12-06 21:32:14 -08:00
B03print.ztst 40203: Resolve 'printf --' question from grandparent commit (thanks Chet). 2016-12-16 00:59:57 +00:00
B04read.ztst
B05eval.ztst
B06fc.ztst 33686: set PS1 before pattern-matching for it 2014-11-13 09:27:14 -08:00
B07emulate.ztst 34804: refine POSIX_ALIAS change to preserve old behavior of [[ ]] conditionals 2015-03-28 21:08:02 -07:00
B08shift.ztst
B09hash.ztst 39949: Special case for "-" in directory names. 2016-11-15 18:01:32 +00:00
C01arith.ztst 37489, tweaked: with POSIX_IDENTIFIERS create math var as scalar 2016-01-03 18:57:10 +00:00
C02cond.ztst 40110: attempt to fix test failures on Solaris 2016-12-06 21:32:14 -08:00
C03traps.ztst 41012: Fix premature exit from nested function in EXIT trap. 2017-04-27 18:56:18 +01:00
C04funcdef.ztst 40622 with typos fixed: functions -Ms. 2017-03-01 10:01:01 +00:00
C05debug.ztst
comptest 37378: New bindkey tests. 2015-12-10 17:51:41 +00:00
D01prompt.ztst 41078: Empty psvar could cause bad dereference in prompt expansion 2017-05-09 09:46:23 +01:00
D02glob.ztst unposted: Adding comments to test changed line number in output 2017-05-09 21:02:34 +01:00
D03procsubst.ztst 35873: add original test for process substitution deadlock from 35847 2015-07-23 10:08:19 +01:00
D04parameter.ztst 40909: Stress test for parameter substitution 2017-03-30 12:16:24 +01:00
D05array.ztst
D06subscript.ztst 40932: Parameter subscripts need to count parentheses. 2017-04-03 10:04:03 +01:00
D07multibyte.ztst 40470: make the test work also with ASCII collation 2017-02-01 10:42:45 +09:00
D08cmdsubst.ztst 40995: Don't disable alias expansion when finding command substitution limits 2017-04-23 17:06:26 +01:00
D09brace.ztst
E01options.ztst 41008: Handle expansions for precommand modifiers 2017-04-26 09:44:38 +01:00
E02xtrace.ztst 39292: Distinguish "=" and "==" tests in output. 2016-09-13 09:42:24 +01:00
Makefile.in
README
runtests.zsh
V01zmodload.ztst 39222: test math functions in modules. 2016-09-08 12:15:14 +01: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 Revert 40626 which broke tests. 2017-02-26 06:11:19 +00:00
V07pcre.ztst Mikael Berthe: 38307: PCRE segfault when parenthesized group matches nothing 2016-04-23 14:20:16 -07:00
V08zpty.ztst 34275: assume zpty can't be used for testing Cygwin 2015-01-14 14:25:18 +00:00
V09datetime.ztst 40820: add a few tests of strftime, related to 40681 2017-03-12 21:04:22 +09:00
V10private.ztst 40198: output of B02typeset differs when (( UID == 0 )) so do not attempt to redo that test in that case 2016-12-15 11:22:22 -08:00
V11db_gdbm.ztst Improve comment at top of GDBM test 2017-03-21 09:57:00 +00:00
W01history.ztst 34787: Add more history tests 2015-03-27 10:21:02 +00:00
X02zlevi.ztst 39986, 39989: improve handling of vi-repeat-change 2016-11-20 23:59:48 +01: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 39757 plus test: Fix completion under parenthetical directory names, broken in 39412 2016-11-27 15:12:00 +00: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 40321: _arguments option groups 2017-01-11 20:50:02 +01:00
ztst.zsh use "diff -a" in case special characters were written to the test output 2017-02-20 13:26:50 -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.