skip the test on platforms where it's not available
p4raw-id: //depot/perl@23666
chdir 't' if -d 't';
@INC = '../lib';
require "./test.pl";
+ require Config;
}
# Tests don't have names yet.
is($a, "\xFF", "~ works with utf-8");
# [rt.perl.org 33003]
-# This would cause a segfault
-like( runperl(prog => 'eval q($#a>>=1); print 1'), "^1\n?" );
+# This would cause a segfault without malloc wrap
+SKIP: {
+ skip "No malloc wrap checks" unless $Config::Config{usemallocwrap};
+ like( runperl(prog => 'eval q($#a>>=1); print 1'), "^1\n?" );
+}