diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-13 09:56:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-03-13 09:56:39 +0200 |
commit | 5537c333656c193e352d9606d4cd1e5c52bbe94a (patch) | |
tree | 7008716778fb045cfaeab6cc8c6eda220cdd59cc | |
parent | c753c2138b565e984985c2dade03e53836fcfb12 (diff) |
Fixup
-rw-r--r-- | tests/host-os-release/testscript | 17 |
1 files changed, 16 insertions, 1 deletions
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 +} |