summaryrefslogtreecommitdiff
path: root/Test/V10private.ztst
AgeCommit message (Collapse)AuthorFilesLines
2023-02-1251361: Tests for 51360.Bart Schaefer1-0/+78
2021-10-0449456: clean up detection of private params in nested scopes, update docBart Schaefer1-3/+3
2021-04-1848560: add TYPESET_TO_UNSET option to remove initialization of parametersBart Schaefer1-6/+6
Changes typeset such that ${newparam-notset} yields "notset" and "typeset -p newparam" does not show an assignment to the parameter. This is similar to the default behavior of bash and ksh, with minor differences in typeset output. Also add tests for some POSIX incompatibilities plus minor changes for test harness robustness.
2019-12-1145004: Fix typos in commentsMartijn Dekker1-1/+1
2017-09-14More [key]=value tweaksPeter Stephenson1-1/+1
Some rephrasings. Update typeset -p for associative arrays to use new syntax.
2016-12-1540198: output of B02typeset differs when (( UID == 0 )) so do not attempt to ↵Barton E. Schaefer1-5/+9
redo that test in that case
2016-10-24"typeset -p" uses "export" commands or the "-g" option for parameters that ↵Barton E. Schaefer1-1/+1
are not local to the current scope
2015-12-0437305: typeset -p can now output arrays on one linePeter Stephenson1-6/+3
2015-11-2737243: too many problems with inserting a line into B02, instead add a ↵Barton E. Schaefer1-5/+4
placeholder and substitute for it. unposted: %cleanup block is not called when %prep sets ZTST_unimplemented, so avoid leaving a mess
2015-11-2637229: non-local assignment to a parameter name whose outermost declaration ↵Barton E. Schaefer1-5/+28
is private, is an error rather than a silent no-op. Also fix %prep sed expression for Solaris.
2015-11-2637225: fix test for typeset with zsh/param/privateBarton E. Schaefer1-1/+10
2015-11-2337208: re-run the "typeset" tests with the private module loadedBarton E. Schaefer1-1/+6
2015-11-2137181: consistent use of zmodload and corresponding ZTST_unimplemented or ↵Barton E. Schaefer1-2/+1
ZTST_skip
2015-11-1037084: add implementation check to zsh/parm/private testPeter Stephenson1-0/+3
2015-11-0837081: new module zsh/param/private for private-scoped parameters in functionsBarton E. Schaefer1-0/+265