projects
/
babeltrace.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0206bb4
)
Port: uname can return a positive value on success
author
Michael Jeanson
<mjeanson@efficios.com>
Fri, 16 Oct 2015 18:57:30 +0000
(14:57 -0400)
committer
Michael Jeanson
<mjeanson@efficios.com>
Fri, 16 Oct 2015 19:40:27 +0000
(15:40 -0400)
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
tests/lib/test_ctf_writer.c
patch
|
blob
|
blame
|
history
diff --git
a/tests/lib/test_ctf_writer.c
b/tests/lib/test_ctf_writer.c
index 0e4219c532281d016967e78e108036146ebac967..cef541234a50d0cae03e81eb765ca658d15471d0 100644
(file)
--- a/
tests/lib/test_ctf_writer.c
+++ b/
tests/lib/test_ctf_writer.c
@@
-756,7
+756,8
@@
int main(int argc, char **argv)
NULL),
"bt_ctf_writer_add_environment_field error with NULL field value");
- if (uname(&name)) {
+ /* On Solaris, uname() can return any positive value on success */
+ if (uname(&name) < 0) {
perror("uname");
return -1;
}
This page took
0.024843 seconds
and
4
git commands to generate.