p4raw-id: //depot/perl@10532
$Is_Cygwin = $^O eq 'cygwin';
$PERL = ($Is_MSWin32 ? '.\perl' : './perl');
-print "1..40\n";
+print "1..41\n";
eval '$ENV{"FOO"} = "hi there";'; # check that ENV is inited inside eval
if ($Is_MSWin32) { ok 1, `cmd /x /c set FOO` eq "FOO=hi there\n"; }
ok 38, ${"!"}{ENOENT};
ok 39, $^S == 0;
-eval { ok 40, $^S };
+eval { ok 40, $^S == 1 };
+ok 41, $^S == 0;