From: degomme Date: Mon, 18 Apr 2016 15:00:57 +0000 (+0200) Subject: oops X-Git-Tag: v3_13~67^2~1 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/26bb66f21f5c3b1a8f4f07fdf69d75343693aec3?hp=e71d90733d4ce16fee162d66771503b4a4417868;ds=sidebyside oops --- diff --git a/tools/tesh/tesh.pl b/tools/tesh/tesh.pl index 739b37ed35..1cb8658893 100755 --- a/tools/tesh/tesh.pl +++ b/tools/tesh/tesh.pl @@ -373,8 +373,7 @@ sub exec_cmd { my @cmdline; if(defined $ENV{VALGRIND_COMMAND}) { push @cmdline, $ENV{VALGRIND_COMMAND}; - my $noquotes = substr $ENV{VALGRIND_OPTIONS}, 1, -1; - push @cmdline, split(" ", $noquotes); + push @cmdline, split(" ", $ENV{VALGRIND_OPTIONS}); if($cmd{'timeout'} ne 'no'){ $cmd{'timeout'}=$cmd{'timeout'}*20 }