From 5537c333656c193e352d9606d4cd1e5c52bbe94a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 13 Mar 2023 09:56:39 +0200 Subject: Fixup --- tests/host-os-release/testscript | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/tests/host-os-release/testscript b/tests/host-os-release/testscript index a37ccd0..c340da3 100644 --- a/tests/host-os-release/testscript +++ b/tests/host-os-release/testscript @@ -184,10 +184,25 @@ if ($build.host.class == 'macos') $* $build.host >>~/EOO/ macos - /[a-z]+(\.[0-9]+(\.[0-9]+)?)?/ + /[0-9]+(\.[0-9]+(\.[0-9]+)?)?/ Mac OS EOO } + +: freebsd +: +if ($build.host.system == 'freebsd') +{ + $* $build.host >>~/EOO/ + freebsd + + /[0-9]+\.[0-9]+/ + + FreeBSD + + + EOO +} -- cgit v1.1