summaryrefslogtreecommitdiffstats
path: root/tests/017
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-08-13 06:42:05 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-08-13 06:42:05 -0700
commit3d7e614022c19d0c42ff32d60c8e51b226fb427d (patch)
tree175bc721a46cd6f566a0ea655537a00435e6e5b2 /tests/017
parent60974f60baa03cfd055bc77d075ae6dcf70d984e (diff)
downloadtxr-3d7e614022c19d0c42ff32d60c8e51b226fb427d.tar.gz
txr-3d7e614022c19d0c42ff32d60c8e51b226fb427d.tar.bz2
txr-3d7e614022c19d0c42ff32d60c8e51b226fb427d.zip
tests: support BSD flavors loosely, not just OpenBSD.
* tests/common.tl (os-symbol): Look for the substring BSD in the system name, and map to symbol :bsd. Do not produce the :openbsd symbol. * tests/014/socket-basic.tl: Refer to :bsd, not :openbsd. * tests/017/glob-carray.tl: Likewise. * tests/018/chmod.tl: Likewise.
Diffstat (limited to 'tests/017')
-rw-r--r--tests/017/glob-carray.tl2
-rw-r--r--tests/017/glob-zarray.tl2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/017/glob-carray.tl b/tests/017/glob-carray.tl
index 3ce52980..4b95c526 100644
--- a/tests/017/glob-carray.tl
+++ b/tests/017/glob-carray.tl
@@ -12,7 +12,7 @@
(nil int)
(pathv (carray str))
(nil (array 4 cptr)))))
- ((:cygnal :cygwin :android :openbsd)
+ ((:cygnal :cygwin :android :bsd)
(deffi-type glob-t (struct glob-t
(pathc size-t)
(nil size-t)
diff --git a/tests/017/glob-zarray.tl b/tests/017/glob-zarray.tl
index 4b804167..22f87e33 100644
--- a/tests/017/glob-zarray.tl
+++ b/tests/017/glob-zarray.tl
@@ -12,7 +12,7 @@
(nil int)
(pathv (ptr-out (zarray str)))
(nil (array 4 cptr)))))
- ((:cygnal :cygwin :android :openbsd)
+ ((:cygnal :cygwin :android :bsd)
(deffi-type glob-t (struct glob-t
(pathc size-t)
(nil size-t)