From: Jarkko Hietaniemi Date: Sun, 28 Oct 2001 14:39:55 +0000 (+0000) Subject: Newline confusion: t/TEST sees an extra newline and gets huffy. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9459710475e45fb4a97fce8a8bc59383952cc617;p=p5sagit%2Fp5-mst-13.2.git Newline confusion: t/TEST sees an extra newline and gets huffy. p4raw-id: //depot/perl@12741 --- diff --git a/lib/ExtUtils/Embed.t b/lib/ExtUtils/Embed.t index c247eb5..4feb042 100644 --- a/lib/ExtUtils/Embed.t +++ b/lib/ExtUtils/Embed.t @@ -44,8 +44,7 @@ else { } push(@cmd,ldopts()); - -print "#@cmd\n"; +print "# @cmd"; # where is the newline coming from? ldopts()? print "not " if system(join(' ',@cmd)); print "ok 1\n"; @@ -53,9 +52,10 @@ my $embed_test = File::Spec->catfile(File::Spec->curdir, "embed_test"); print "not " if system($embed_test); print "ok 9\n"; + unlink($exe,"embed_test.c"); -#gcc -g -I.. -L../ -o perl_test perl_test.c -lperl `../perl -I../lib -MExtUtils::Embed -I../ -e ccopts -e ldopts` +# gcc -g -I.. -L../ -o perl_test perl_test.c -lperl `../perl -I../lib -MExtUtils::Embed -I../ -e ccopts -e ldopts` __END__