mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 09:17:17 +00:00
Make test cross-platform
This commit is contained in:
parent
f977ace7f8
commit
1ccd879916
@ -138,7 +138,11 @@
|
||||
"/dev/null"))
|
||||
(os/open path :w))
|
||||
(with [dn (devnull)]
|
||||
(os/execute ["ls"] :px {:out dn :err dn})))
|
||||
(os/execute [(dyn :executable)
|
||||
"-e"
|
||||
"(print :foo) (eprint :bar)"]
|
||||
:px
|
||||
{:out dn :err dn})))
|
||||
|
||||
(end-suite)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user