Need to be ./executed.
Jarkko Hietaniemi [Sun, 28 Oct 2001 14:06:58 +0000 (14:06 +0000)]
p4raw-id: //depot/perl@12739

lib/ExtUtils/Embed.t

index 32cc9a7..c247eb5 100644 (file)
@@ -48,7 +48,10 @@ push(@cmd,ldopts());
 print "#@cmd\n";
 print "not " if system(join(' ',@cmd));
 print "ok 1\n";
-print "not " if system("embed_test");
+
+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");