According to the code in mg.c / Perl_magic_clear_all_env() the last
three tests can not be done on VMS, EPOC, and SYMBIAN.
I do not know how to test for EPOC or SYMBIAN, but this patch will
handle the VMS case.
-John
[EMAIL PROTECTED]
Personal Opinion Only
--- t/op/magic.t_25334 Sat Aug 27 19:25:24 2005
+++ t/op/magic.t Sat Aug 27 18:41:02 2005
@@ -436,7 +436,7 @@
}
# Test for bug [perl #36434]
-{
+if (!$Is_VMS) {
local @ISA;
local %ENV;
eval { push @ISA, __PACKAGE__ };
@@ -448,4 +448,10 @@
eval { my %h = qw(A B); %ENV = (PATH => (keys %h)[0]) };
ok( $@ eq '', 'Assign a shared key to a magic hash');
$@ and print "# $@";
+}
+else {
+# Can not do this test on VMS, EPOC, and SYMBIAN according to comments
+# in mg.c/Perl_magic_clear_all_env()
+#
+ skip('Can\'t make assignment to \%ENV on this system') for 1..3;
}