1 |
commit: 314587590c5ab7204171606cadac52933a49f89d |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 20 23:23:10 2015 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 20 23:23:10 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=31458759 |
7 |
|
8 |
tests: avoid overflowing exit codes |
9 |
|
10 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
11 |
|
12 |
tests/script-8.sh | 2 +- |
13 |
1 file changed, 1 insertion(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/tests/script-8.sh b/tests/script-8.sh |
16 |
index 685d5d3..6d9de55 100755 |
17 |
--- a/tests/script-8.sh |
18 |
+++ b/tests/script-8.sh |
19 |
@@ -10,4 +10,4 @@ sigsuspend-zsh_static_tst |
20 |
s=$? |
21 |
echo "ret = $s" |
22 |
|
23 |
-exit $(( d + s )) |
24 |
+exit $(( d | s )) |