zsh-workers
 help / color / mirror / code / Atom feed
94bc59576ff25bd73c59c3aa8b2940e4e0a36a57 blob 401 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
%prep
  autoload -Uz zmathfunc && zmathfunc

%test

  echo $(( min(42, 43) )) $(( max(42, 43) )) $(( sum(42, 43) ))
  echo $(( min(42) )) $(( max(42) )) $(( sum(42) ))
  echo $(( sum() ))
0:basic functionality test
>42 43 85
>42 42 42
>0


  (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
>0
>0

%clean
debug log:

solving 94bc59576 ...
found 94bc59576 in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).