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
don't try to compute the backtrace if we have no process name (only occure with ...
[simgrid.git]
/
tools
/
tesh
/
tesh.c
diff --git
a/tools/tesh/tesh.c
b/tools/tesh/tesh.c
index
628f856
..
f45d0b1
100644
(file)
--- a/
tools/tesh/tesh.c
+++ b/
tools/tesh/tesh.c
@@
-21,7
+21,7
@@
XBT_LOG_NEW_DEFAULT_CATEGORY(tesh, "TEst SHell utility");
/*** Options ***/
int timeout_value = 5; /* child timeout value */
/*** Options ***/
int timeout_value = 5; /* child timeout value */
-char *testsuite_name;
+c
onst c
har *testsuite_name;
static void handle_line(const char *filepos, char *line)
{
/* Search end */
static void handle_line(const char *filepos, char *line)
{
/* Search end */
@@
-241,8
+241,9
@@
int main(int argc, char *argv[])
/* Find the description file */
if (argc == 1) {
INFO0("Test suite from stdin");
/* Find the description file */
if (argc == 1) {
INFO0("Test suite from stdin");
- testsuite_name = xbt_strdup("(stdin)");
- handle_suite("stdin", stdin);
+ testsuite_name = "(stdin)";
+ handle_suite(testsuite_name, stdin);
+ rctx_wait_bg();
INFO0("Test suite from stdin OK");
} else {
INFO0("Test suite from stdin OK");
} else {