aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+}