From 64a6f0f19f488ef87071ef15fa6ddd67c78ae272 Mon Sep 17 00:00:00 2001 From: Peter Bex Date: Mon, 1 Oct 2012 19:02:50 +0100 Subject: Implement run/file*, which is really weird --- tests/run.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tests') 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")) -- cgit v1.2.3