$status = checkequal(\@sorted, $unsorted);
is($status, '', "contents ok for size $ts");
}
- # P5P: The following test (#58) has been observed failing on
- # a solaris 2.8 platform. Failure doesn't mean that sort is
- # misbehaving, it is just exhibiting an exceedingly unlikely
- # pattern of breaking ties. If you see no other failures,
- # it should be perfectly safe to install.
+ # If the following test (#58) fails, see the comments in pp_sort.c
+ # for Perl_sortsv().
if ($expect_unstable) {
ok($unstable_num > 0, 'Instability ok');
}
# XXX We're using this eval "..." trick to force recompilation,
# to ensure that the correct pragma is enabled when main() is run.
-# Currently 'use sort' modifies $^H{SORT} at compile-time, but
-# pp_sort() fetches its value at run-time : thus the lexical scoping
-# of %^H is of no utility.
+# Currently 'use sort' modifies $sort::hints at compile-time, but
+# pp_sort() fetches its value at run-time.
# The order of those evals is important.
eval q{