aboutsummaryrefslogtreecommitdiff
path: root/tests/host-os-release/testscript
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-03-13 13:08:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-03-13 13:08:19 +0200
commitf1aada8cc6419c3c9934fa880c8f6e5c59e23385 (patch)
treec38f275a43b0e73d9e96946fb47c4300b2eb4c2f /tests/host-os-release/testscript
parent5537c333656c193e352d9606d4cd1e5c52bbe94a (diff)
Windowsos-release
Diffstat (limited to 'tests/host-os-release/testscript')
-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 c340da3..a18aa74 100644
--- a/tests/host-os-release/testscript
+++ b/tests/host-os-release/testscript
@@ -1,4 +1,4 @@
-# file : bpkg/host-os-release.test.testscript
+# file : tests/host-os-release/testscript
# license : MIT; see accompanying LICENSE file
: linux
@@ -206,3 +206,18 @@ if ($build.host.system == 'freebsd')
EOO
}
+
+: windows
+:
+if ($build.host.system == 'windows')
+{
+ $* $build.host >>~/EOO/
+ windows
+
+ /[0-9]+(\.[0-9]+)?/
+
+ Windows
+
+
+ EOO
+}