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
add the ability to tesh to mess with the processes' environment
[simgrid.git]
/
tools
/
tesh
/
run_context.h
diff --git
a/tools/tesh/run_context.h
b/tools/tesh/run_context.h
index
5704672
..
9b33472
100644
(file)
--- a/
tools/tesh/run_context.h
+++ b/
tools/tesh/run_context.h
@@
-19,6
+19,8
@@
typedef enum {e_output_check, e_output_display, e_output_ignore} e_output_handli
typedef struct {
/* kind of job */
char *cmd;
typedef struct {
/* kind of job */
char *cmd;
+ char **env;
+ int env_size;
char *filepos;
int pid;
int is_background:1;
char *filepos;
int pid;
int is_background:1;
@@
-46,9
+48,9
@@
typedef struct {
int expected_return; /* the exepeted return code of following command */
/* buffers */
int expected_return; /* the exepeted return code of following command */
/* buffers */
- buff_t input;
- buff_t output_wanted;
- buff_t output_got;
+
xbt_str
buff_t input;
+
xbt_str
buff_t output_wanted;
+
xbt_str
buff_t output_got;
/* Threads */
xbt_os_thread_t writer, reader; /* IO handlers */
/* Threads */
xbt_os_thread_t writer, reader; /* IO handlers */