It seems that it changed with commit 782233, when the add_test statements
were changed from add_test(testname exe arg...) to
add_test(NAME testname COMMAND exe arg...).
This broke test memcheck-smpi-replay-9.
if ( $command =~ /^mkfile\s+(\S+)/) {
my $file = $1;
# don't ask me to explain why so many backslashes...
- $input =~ s/\\/\\\\\\\\\\\\\\\\/g;
- $input =~ s/\n/\\\\\\\\n/g;
- $input =~ s/"/\\\\\\\\042/g;
- $input =~ s/'/\\\\\\\\047/g;
+ $input =~ s/\\/\\\\\\\\/g;
+ $input =~ s/\n/\\\\n/g;
+ $input =~ s/"/\\\\042/g;
+ $input =~ s/'/\\\\047/g;
$input =~ s/%/%%/g;
$command = "sh -c \"printf '$input' > $file\"";
}