From f87b73e677739970c61eab55d4a3276beba1bd43 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Sun, 7 Mar 2021 17:07:06 +0000 Subject: 48147/0002: zmathfunc: Fix bug where the exit code would be non-zero if the expression evaluted to zero. --- Test/Z02zmathfunc.ztst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Test') 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 -- cgit 1.4.1