Get rid of \rs at the end of lines in prescripts and postscripts to
work around Windows dodginess.
if ($PreScript ne '') {
local($to_do);
$PreScriptLines = `cat $PreScript`;
+ $PreScriptLines =~ s/\r//g;
} else {
$PreScriptLines = '';
}
if ($PostScript ne '') {
local($to_do);
$PostScriptLines = `cat $PostScript`;
+ $PostScriptLines =~ s/\r//g;
$* = 1;
$PostScriptLines =~ s#\$o1#$TmpPrefix/runtest$$.1#g;
$PostScriptLines =~ s#\$o2#$TmpPrefix/runtest$$.2#g;