diff options
author | Bart Schaefer <schaefer@ipost.com> | 2021-04-18 13:58:09 -0700 |
---|---|---|
committer | Bart Schaefer <schaefer@ipost.com> | 2021-04-18 13:58:09 -0700 |
commit | 82ff9f24f170eea7daa935fdaa09ab75a2f277ff (patch) | |
tree | cef3fef19fbe032466fcfbe50b7b6aa0878300a5 /Test/runtests.zsh | |
parent | 56ccb4a975bc87dd10bbbd6a1cfc296d6e2203b4 (diff) | |
download | zsh-82ff9f24f170eea7daa935fdaa09ab75a2f277ff.tar.gz zsh-82ff9f24f170eea7daa935fdaa09ab75a2f277ff.tar.xz zsh-82ff9f24f170eea7daa935fdaa09ab75a2f277ff.zip |
48560: add TYPESET_TO_UNSET option to remove initialization of parameters
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.
Diffstat (limited to 'Test/runtests.zsh')
-rw-r--r-- | Test/runtests.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/runtests.zsh b/Test/runtests.zsh index 562234d91..b66d579b6 100644 --- a/Test/runtests.zsh +++ b/Test/runtests.zsh @@ -7,7 +7,7 @@ emulate zsh # protect from catastrophic failure of an individual test. # We could probably do that with subshells instead. -integer success failure skipped retval +integer success=0 failure=0 skipped=0 retval for file in "${(f)ZTST_testlist}"; do $ZTST_exe +Z -f $ZTST_srcdir/ztst.zsh $file retval=$? |