aboutsummaryrefslogtreecommitdiff
path: root/tests/host-os-release
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-13 09:56:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-13 09:56:39 +0200
commit5537c333656c193e352d9606d4cd1e5c52bbe94a (patch)
tree7008716778fb045cfaeab6cc8c6eda220cdd59cc /tests/host-os-release
parentc753c2138b565e984985c2dade03e53836fcfb12 (diff)
Fixup
Diffstat (limited to 'tests/host-os-release')
-rw-r--r--tests/host-os-release/testscript17
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
+}