summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/run.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/run.scm b/tests/run.scm
index c0cb01f..f537ad8 100644
--- a/tests/run.scm
+++ b/tests/run.scm
@@ -33,7 +33,11 @@
(test "Simple run/port"
'(a b c)
- (read (run/port (echo "(a b c)")))))
+ (read (run/port (echo "(a b c)"))))
+
+ (test "Simple run/file"
+ "blah\n"
+ (with-input-from-file (run/file (echo "blah")) read-all)))
(test-group "Subprocesses"
(let ((outfile "outfile"))