avoid a ports test when fcntl is not provided
authorMichael Gran <spk121@yahoo.com>
Wed, 30 Dec 2020 13:39:33 +0000 (05:39 -0800)
committerMichael Gran <spk121@yahoo.com>
Thu, 21 Jan 2021 23:35:43 +0000 (15:35 -0800)
* test-suite/tests/ports.test (non blocking I/O): disable test when fcntl
    is not provided

test-suite/tests/ports.test

index bd7a927f7ecf3c6feb7b9bf6c3190e55e6d7ff69..9aa486e98c7804790b2a89c154ff1adf1023f84a 100644 (file)
            (close-fdes fdes)
            #t))))
 
-(when (provided? 'threads)
+(when (and (provided? 'threads) (provided? 'fcntl))
   (let* ((p (pipe))
          (r (car p))
          (w (cdr p)))