summaryrefslogtreecommitdiffstats
path: root/tests/014
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2021-04-20 02:25:04 -0700
committerKaz Kylheku <kaz@kylheku.com>2021-04-20 02:25:04 -0700
commit47d5feb3175a8cd1dfb515c0f552eb50d2edad47 (patch)
treebc8b333fdb5fb31c9ba9ed606c20bb85f438e9ba /tests/014
parente57078521f985202ba261acdff9a87044dd49572 (diff)
downloadtxr-47d5feb3175a8cd1dfb515c0f552eb50d2edad47.tar.gz
txr-47d5feb3175a8cd1dfb515c0f552eb50d2edad47.tar.bz2
txr-47d5feb3175a8cd1dfb515c0f552eb50d2edad47.zip
openbsd: fix tests.
* tests/014/socket-basic.tl (%iters%): Also reduce to 2000 on OpenBSD, to avoid the default limit on UDP datagram size. * tests/017/glob-carray.tl: Use the BSD-style struct glob-t on OpenBSD also. * tests/017/glob-zarray.tl: Likewise. * tests/018/chmod.tl (os): New global variable. (test-sticky): s-isvtx not allowed for non-root user on OpenBSD, so we falsify this variable. * tests/common.tl (os-symbol): Add OpenBSD case, producing :openbsd keyword symbol. (libc): Let's just use (dlopen nil) for any platform that isn't Cygwin or Cygnal.
Diffstat (limited to 'tests/014')
-rw-r--r--tests/014/socket-basic.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/014/socket-basic.tl b/tests/014/socket-basic.tl
index bbdab7f9..1b4464fb 100644
--- a/tests/014/socket-basic.tl
+++ b/tests/014/socket-basic.tl
@@ -3,7 +3,7 @@
(defvar socktype)
-(defvar %iters% (if (eql :macos (os-symbol)) 2000 5000))
+(defvar %iters% (if (meql (os-symbol) :macos :openbsd) 2000 5000))
(defun client (addr)
(with-stream (cli-sock (open-socket af-inet socktype))