mirror of
https://github.com/janet-lang/janet
synced 2026-11-28 01:43:09 +00:00
Make test cross-platform
This commit is contained in:
1 file changed
+5
-1
+5
-1
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user