From 46814e9b310dbc8413ddba25028023aa4b8e6236 Mon Sep 17 00:00:00 2001 From: James E Keenan Date: Fri, 9 Nov 2018 21:21:30 -0500 Subject: Ensure same count of tests on different OSes. On OpenBSD (in at least one instance), $different was false, thereby causing 30 tests not to be run but without reflecting that skipping in the test count displayed at the end of output. Let's put this in a SKIP block similar to those used elsewhere in the file. --- t/run/locale.t | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 't/run') diff --git a/t/run/locale.t b/t/run/locale.t index b51c2d2a13..e249c65c77 100644 --- a/t/run/locale.t +++ b/t/run/locale.t @@ -166,7 +166,8 @@ EOF . " radix is marked UTF-8"); } - if ($different) { + SKIP: { + skip("no locale available where LC_NUMERIC radix isn't '.'", 30) unless $different; note("using the '$different' locale for LC_NUMERIC tests"); { local $ENV{LC_NUMERIC} = $different; -- cgit v1.2.1