Pending further investigation skip the tell() tests.
[p5sagit/p5-mst-13.2.git] / t / test.pl
index 90e7ed5..e4411af 100644 (file)
--- a/t/test.pl
+++ b/t/test.pl
@@ -223,6 +223,11 @@ sub runperl {
        $runperl .= qq( "$args{progfile}");
     }
     if (defined $args{stdin}) {
+        # so we don't try to put literal newlines and crs onto the
+        # command line.
+        $args{stdin} =~ s/\n/\\n/g;
+        $args{stdin} =~ s/\r/\\r/g;
+
        if ($is_mswin || $is_netware || $is_vms) {
            $runperl = qq{$^X -e "print qq(} .
                $args{stdin} . q{)" | } . $runperl;