From: mquinson Date: Mon, 29 Nov 2010 20:30:53 +0000 (+0000) Subject: More informative messages when using the new --setenv tesh argument X-Git-Tag: v3_5~101 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/0f45a7402ff3a424743afb133cbd9dc012927ae9?ds=inline More informative messages when using the new --setenv tesh argument git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8730 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/tools/tesh/tesh.c b/tools/tesh/tesh.c index 0cf2c063c0..628f8566f8 100644 --- a/tools/tesh/tesh.c +++ b/tools/tesh/tesh.c @@ -230,8 +230,8 @@ int main(int argc, char *argv[]) xbt_assert1(eq,"The argument of --setenv must contain a '=' (got %s instead)",argv[i+1]); char *key = bprintf("%.*s", (int) (eq - argv[i+1]), argv[i+1]); xbt_dict_set(env, key, xbt_strdup(eq + 1), xbt_free_f); + INFO2("setting environment variable '%s' to '%s'", key, eq+1); free(key); - VERB1("setenv %s", argv[i+1]); memmove(argv + i, argv + i + 2, (argc - i - 1) * sizeof(char *)); argc -= 2; i -= 2;