diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2021-08-13 06:42:05 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2021-08-13 06:42:05 -0700 |
commit | 3d7e614022c19d0c42ff32d60c8e51b226fb427d (patch) | |
tree | 175bc721a46cd6f566a0ea655537a00435e6e5b2 /tests/018 | |
parent | 60974f60baa03cfd055bc77d075ae6dcf70d984e (diff) | |
download | txr-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/018')
-rw-r--r-- | tests/018/chmod.tl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/018/chmod.tl b/tests/018/chmod.tl index 91f61724..4349686c 100644 --- a/tests/018/chmod.tl +++ b/tests/018/chmod.tl @@ -9,7 +9,7 @@ (defvarl os (os-symbol)) -(defvarl test-sticky (unless (eq os :openbsd) +(defvarl test-sticky (unless (eq os :bsd) (chmod tgt s-isvtx) (let ((st (stat tgt))) (plusp (logand s-isvtx st.mode))))) |