X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/dff9e15c44ab6340d27215957c56fa72fad246a2..b412f30fc9762c807c7b93ac9e308d6b8a70d8e5:/tools/tesh/run_context.h?ds=sidebyside diff --git a/tools/tesh/run_context.h b/tools/tesh/run_context.h index 43762e9277..7721e3ee21 100644 --- a/tools/tesh/run_context.h +++ b/tools/tesh/run_context.h @@ -1,9 +1,7 @@ -/* $Id$ */ - /* run_context -- stuff in which TESH runs a command */ -/* Copyright (c) 2007 Martin Quinson. */ -/* All rights reserved. */ +/* Copyright (c) 2007, 2008, 2009, 2010. The SimGrid Team. + * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -48,6 +46,7 @@ typedef struct { int end_time; /* begin_time + timeout, as epoch */ char *expected_signal; /* name of signal to raise (or NULL if none) */ int expected_return; /* the exepeted return code of following command */ + int output_sort:1; /* whether the output must be sorted before comparison */ /* buffers */ xbt_strbuff_t input; @@ -91,4 +90,4 @@ void *rctx_wait(void *rctx); /* Parse a line comming from the suite file, and add this into the rctx */ void rctx_pushline(const char *filepos, char kind, char *line); -#endif /* TESH_RUN_CONTEXT_H */ +#endif /* TESH_RUN_CONTEXT_H */