Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] [long] typeset doesn't report tied parameters (and related issues)



On Mon, Oct 8, 2018 at 8:24 AM Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
>
> Hmm, I'm guessing all the B02 failures are all down to being re-run from
> V10?

No, they're coming from the first pass through B02.  Succeeds for me
on MacOS, but on CentOS 6.10 it fails:

Test ./B02typeset.ztst failed: bad status 1, expected 0 from:
 function {
   local -rax zsh_exported_readonly_array=(2)
   local -rAx zsh_exported_readonly_hash=(3 3)
   local -rx zsh_exported_readonly_scalar=1
   print zsh:
   export -p | grep zsh_exported_readonly
   readonly -p | grep zsh_exported_readonly
   print sh:
   emulate -L sh
   export -p | grep zsh_exported_readonly
   readonly -p | grep zsh_exported_readonly
   print still asking for arrays:
   export -ap | grep zsh_exported_readonly
   readonly -ap | grep zsh_exported_readonly
 }
Was testing:  no array/hash in POSIX export/readonly -p

There is no other useful output, even with ZTST_VERBOSE.



Messages sorted by: Reverse Date, Date, Thread, Author