We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 363e32d + d2ee4aa commit 17524d2Copy full SHA for 17524d2
test/suite-ev.janet
@@ -501,8 +501,10 @@
501
# soreuseport on unix domain sockets
502
(compwhen (or (= :macos (os/which)) (= :linux (os/which)))
503
(assert-no-error "unix-domain socket reuseaddr"
504
- (let [s (net/listen :unix "./unix-domain-socket" :stream)]
505
- (:close s))))
+ (let [uds-path "./unix-domain-socket"]
+ (defer (os/rm uds-path)
506
+ (let [s (net/listen :unix uds-path :stream)]
507
+ (:close s))))))
508
509
# net/accept-loop level triggering
510
(gccollect)
0 commit comments