git.samba.org
/
socket_wrapper.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6f1a42
)
tests: Return an error if setenv() fails in test_max_sockets
author
Andreas Schneider
<asn@samba.org>
Mon, 1 Oct 2018 19:28:27 +0000
(21:28 +0200)
committer
Andreas Schneider
<asn@samba.org>
Tue, 23 Oct 2018 13:39:45 +0000
(15:39 +0200)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
tests/test_max_sockets.c
patch
|
blob
|
history
diff --git
a/tests/test_max_sockets.c
b/tests/test_max_sockets.c
index 00aa79b57d56b6b9817f8b4b0375debecfaa1c60..b49f9eb03459eec0c0670e088b8b667816297bcc 100644
(file)
--- a/
tests/test_max_sockets.c
+++ b/
tests/test_max_sockets.c
@@
-22,7
+22,7
@@
static int setup(void **state)
ret = setenv("SOCKET_WRAPPER_MAX_SOCKETS", str, 1);
- return
0
;
+ return
ret
;
}
static int teardown(void **state)