On Mon, 25 Jun 2018 at 16:52, Igor Kozhukhov <[email protected]> wrote:
> the same test with BASH (64bit)

Bash is a different shell, with different behaviour.  For what it's
worth, the "typeset -li" syntax also appears to work in bash.

> it is ksh93 bug - not Debian.
> i didn’t say about - it is illumos ksh bug - i just say about ksh93 issue 
> with 2G value in bytes with 64bit application.

As far as I can tell, it's working the way it's intended to work;
i.e., that "typeset -i" gets you a 32-bit int and "typeset -li" gets
you a longer (64-bit) integer.

> and - I have started thread about - move on from KSH to another shell for zfs 
> tests - as part of another proposals..

This is not really a justification for making a change of that scope,
merely for fixing the bug you found in the original script.  It should
be a simple fix now that we understand the problem.


Cheers.

-- 
Joshua M. Clulow
Engineer @ Joyent
http://blog.sysmgr.org

------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T42f8147492666f65-M393ced4f2af3ece7621dd852
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to