fix `subprocess' test
Merge to v5.3
This commit is contained in:
parent
8e889cfdb1
commit
22960b9c75
|
@ -32,5 +32,6 @@
|
||||||
(load-in-sandbox "macrolib.rktl")
|
(load-in-sandbox "macrolib.rktl")
|
||||||
(load-in-sandbox "resource.rktl")
|
(load-in-sandbox "resource.rktl")
|
||||||
(load-in-sandbox "syntaxlibs.rktl")
|
(load-in-sandbox "syntaxlibs.rktl")
|
||||||
|
(load-in-sandbox "subprocess.rktl")
|
||||||
|
|
||||||
(report-errs)
|
(report-errs)
|
||||||
|
|
|
@ -342,7 +342,7 @@
|
||||||
|
|
||||||
(let ([no-nuls (lambda (thunk)
|
(let ([no-nuls (lambda (thunk)
|
||||||
(err/rt-test (thunk) (lambda (exn)
|
(err/rt-test (thunk) (lambda (exn)
|
||||||
(regexp-match? #rx"without nuls" (exn-message exn)))))])
|
(regexp-match? #rx"bytes-no-nuls[?]" (exn-message exn)))))])
|
||||||
(no-nuls (lambda () (subprocess #f #f #f cat "\0")))
|
(no-nuls (lambda () (subprocess #f #f #f cat "\0")))
|
||||||
(no-nuls (lambda () (subprocess #f #f #f cat #"\0")))
|
(no-nuls (lambda () (subprocess #f #f #f cat #"\0")))
|
||||||
(no-nuls (lambda () (process "\0")))
|
(no-nuls (lambda () (process "\0")))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user