Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let xbt_exit() issue a warning stating that this is now a no-op
[simgrid.git] / tools / tesh / tesh.h
index 8e7b17e..206493b 100644 (file)
@@ -1,9 +1,7 @@
-/* $Id$ */
-
 /* TESH (Test Shell) -- mini shell specialized in running test units        */
 
-/* Copyright (c) 2007-2008, Da SimGrid team.                                */
-/* 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. */
 /******************************************/
 /* return the name of a signal, aliasing SIGBUS to SIGSEGV since
    segfault leads to any of them depending on the system */
-const charsignal_name(unsigned int got, char *expected);
+const char *signal_name(unsigned int got, char *expected);
 
 #include "run_context.h"
 
 /*** Options ***/
-int timeout_value; /* child timeout value */
+int timeout_value;              /* child timeout value */
 
 rctx_t rctx;
 char *testsuite_name;
@@ -40,6 +38,6 @@ char *testsuite_name;
 extern char **environ;
 # endif
 
-xbt_dict_t env; /* the environment, stored as a dict (for variable substitution) */
+xbt_dict_t env;                 /* the environment, stored as a dict (for variable substitution) */
 
 #endif /* TESH_H */