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
Oliver Kiddle 7cb980b536 49518: fix exclusions for mixed - and + stacked options 2 years ago
..
.cvsignore
.distfiles
A01grammar.ztst 47599 (tweaked): New test for '{foo,bar}' in command position 3 years ago
A02alias.ztst
A03quoting.ztst
A04redirect.ztst 46026: Add CLOBBER_EMPTY option. 4 years ago
A05execution.ztst unposted: Fix typos 3 years ago
A06assign.ztst
A07control.ztst
B01cd.ztst 46168: Update $PWD and call chpwd hook after normalizing path 4 years ago
B02typeset.ztst 47704: POSIX export and readonly ignore "-p" when parameter names also appear 3 years ago
B03print.ztst 48202 + 48366: Fix handling of NUL bytes in zexpandtabs multibyte version 3 years ago
B04read.ztst
B05eval.ztst
B06fc.ztst
B07emulate.ztst 47794: exec: run final pipeline command in a subshell in sh mode 3 years ago
B08shift.ztst
B09hash.ztst
B10getopts.ztst 48614: getopts: Calculate OPTIND according to POSIX_BUILTINS 3 years ago
B11kill.ztst
B12limit.ztst github #82: Fix typos 3 years ago
B13whence.ztst 45640: Fix new test when ${PWD}'s value contains symlinks. 4 years ago
C01arith.ztst 46079: Ignore double quotes in math expressions. 4 years ago
C02cond.ztst 49269: Fix "[ ! -o ]". 3 years ago
C03traps.ztst
C04funcdef.ztst unposted: Fix typos 3 years ago
C05debug.ztst
D01prompt.ztst 49628: Add an xfail test for RPS1/RPROMPT equivalence. 3 years ago
D02glob.ztst 47895: Remove trailing spaces from "print -ac" output lines. 3 years ago
D03procsubst.ztst 46183: New XFail test: external command with =(...) on LHS of pipeline cleans up its tempfiles. 4 years ago
D04parameter.ztst 49166: fix coredump in ${name:offset:length} with ill-formatted length 3 years ago
D05array.ztst
D06subscript.ztst 48560: add TYPESET_TO_UNSET option to remove initialization of parameters 3 years ago
D07multibyte.ztst unposted: Improve documentation and add regression test for workers/47745 3 years ago
D08cmdsubst.ztst
D09brace.ztst
E01options.ztst 48560: add TYPESET_TO_UNSET option to remove initialization of parameters 3 years ago
E02xtrace.ztst 48594 (plus an "F:" line corresponding to the question there): New tests for functions -t / functions -T 3 years ago
E03posix.ztst 49624: Expect the test 'All identifiers are variable references in POSIX arithmetic' to pass, as it has been passing since 49611. 3 years ago
Makefile.in
P01privileged.ztst 45542: P01privileged: Use test-directory owner for auto-determined EUID/EGID 4 years ago
README
V01zmodload.ztst
V02zregexparse.ztst
V03mathfunc.ztst
V04features.ztst
V05styles.ztst 48432 and enable test: fix quotiing of zstyle -L for zstyle -e 3 years ago
V06parameter.ztst
V07pcre.ztst unposted: Fix syntax error introduced in 45591. 4 years ago
V08zpty.ztst 47849: do not skip tests requiring zpty on Cygwin 3 years ago
V09datetime.ztst 47494, 47495: Add -n option to strftime 4 years ago
V10private.ztst 49456: clean up detection of private params in nested scopes, update doc 3 years ago
V11db_gdbm.ztst
V12zparseopts.ztst 47905: Add leading '-' to zparseopts option parsing errors 3 years ago
V13zformat.ztst 49561: add zformat -F option, similar to -f but ternary expressions check for existence instead of doing math evaluation 3 years ago
V14system.ztst 46152: zsh/system: Re-allow '0' timeout in zsystem flock 4 years ago
W01history.ztst 49601: don't create ambiguous history file entries for lines ending with a backslash 3 years ago
W02jobs.ztst 47849: do not skip tests requiring zpty on Cygwin 3 years ago
X02zlevi.ztst 47849: do not skip tests requiring zpty on Cygwin 3 years ago
X03zlebindkey.ztst 49377: fix segfault by 'bindkey -d' with reordered keymapnamtab 3 years ago
X04zlehighlight.ztst 47849: do not skip tests requiring zpty on Cygwin 3 years ago
Y01completion.ztst 49572: Let _expand preserve array form w/out zstyle glob 3 years ago
Y02compmatch.ztst unposted (c.f. Bart: 49531): fix completion test where a typo marked it as expected to fail 3 years ago
Y03arguments.ztst 49518: fix exclusions for mixed - and + stacked options 2 years ago
Z01is-at-least.ztst 47314: is-at-least false positive (5.8.0.2 / 5.8) 4 years ago
Z02zmathfunc.ztst 48606 + 48607 + unposted test: zmathfunc: Force arguments to be numbers and catch errors. 3 years ago
Z03run-help.ztst 49386: handle separate source/build trees 3 years ago
comptest 48413: Fix _expand completion test 3 years ago
list-XFails
runtests.zsh 48560: add TYPESET_TO_UNSET option to remove initialization of parameters 3 years ago
ztst.zsh 48560: add TYPESET_TO_UNSET option to remove initialization of parameters 3 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
 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.

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.