Escape multiline croak messages.
Jarkko Hietaniemi [Tue, 26 Jun 2001 13:28:27 +0000 (13:28 +0000)]
p4raw-id: //depot/perl@10958

t/op/ver.t

index 18d101a..1aed539 100755 (executable)
@@ -206,6 +206,7 @@ eval { require Socket; gethostbyaddr(v127.0.0.1, Socket::AF_INET) };
 if ($@)
  {
   # No - so don't test insane fails.
+  $@ =~ s/\n/\n# /g;
   skip("No Socket::AF_INET # $@");
  }
 else