summaryrefslogtreecommitdiff
path: root/tests/run.scm
diff options
context:
space:
mode:
authorPeter Bex <peter@more-magic.net>2013-06-18 21:10:32 +0200
committerPeter Bex <peter@more-magic.net>2013-06-18 21:10:32 +0200
commit2e06c9a62f8fa97f1f84c573c3b4f84e605629ad (patch)
tree94e64bd763607b198e476e4d5a47ae02c05e7e6c /tests/run.scm
parent33317e50521f6ccf2575b63ff18098d08ad84548 (diff)
downloadscsh-process-2e06c9a62f8fa97f1f84c573c3b4f84e605629ad.tar.gz
Support unquote-splicing through a variant of exec-path (reported by Moritz)
Diffstat (limited to 'tests/run.scm')
-rw-r--r--tests/run.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/run.scm b/tests/run.scm
index 13313e5..ff7896d 100644
--- a/tests/run.scm
+++ b/tests/run.scm
@@ -29,6 +29,10 @@
"hi, there\n"
(run/string (echo "hi, there")))
+ (test "Unquote-splicing run/string"
+ "hi, there\n"
+ (run/string (echo ,@(list "hi," "there"))))
+
(test "Simple run/sexp"
'("hi, there")
(run/sexp (echo "(\"hi, there\") trailing stuff is ignored")))
@@ -146,4 +150,4 @@
(test-end)
-(test-exit) \ No newline at end of file
+(test-exit)