A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
improve coverage in teshsuite
[simgrid.git]
/
teshsuite
/
msg
/
host_on_off_processes
/
host_on_off_processes.c
diff --git
a/teshsuite/msg/host_on_off_processes/host_on_off_processes.c
b/teshsuite/msg/host_on_off_processes/host_on_off_processes.c
index
0b19a41
..
c6e8222
100644
(file)
--- a/
teshsuite/msg/host_on_off_processes/host_on_off_processes.c
+++ b/
teshsuite/msg/host_on_off_processes/host_on_off_processes.c
@@
-274,8
+274,5
@@
int main(int argc, char *argv[])
XBT_INFO("Simulation time %g", MSG_get_clock());
- if (res == MSG_OK)
- return 0;
- else
- return 1;
+ return res != MSG_OK;
} /* end_of_main */