diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-03-07 17:07:06 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2021-03-07 21:58:13 +0000 |
commit | f87b73e677739970c61eab55d4a3276beba1bd43 (patch) | |
tree | 452a62974d359972dd048a2e41c52738f3ef9f2f /Test | |
parent | 6a2a8acf09bc39795f18cc60e90a0d4427d36edd (diff) | |
download | zsh-f87b73e677739970c61eab55d4a3276beba1bd43.tar.gz zsh-f87b73e677739970c61eab55d4a3276beba1bd43.tar.xz zsh-f87b73e677739970c61eab55d4a3276beba1bd43.zip |
48147/0002: zmathfunc: Fix bug where the exit code would be non-zero if the expression evaluted to zero.
Diffstat (limited to 'Test')
-rw-r--r-- | Test/Z02zmathfunc.ztst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/Z02zmathfunc.ztst b/Test/Z02zmathfunc.ztst index 94bc59576..43a0a0d76 100644 --- a/Test/Z02zmathfunc.ztst +++ b/Test/Z02zmathfunc.ztst @@ -15,7 +15,7 @@ (set -e; echo $(( min(0, 42) ))) (set -e; echo $(( max(0, -42) ))) (set -e; echo $(( sum(42, -42) ))) --f:regression test for ERR_EXIT +0:regression test for ERR_EXIT >0 >0 >0 |