summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/run.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/run.scm b/tests/run.scm
index 7690752..96d49eb 100644
--- a/tests/run.scm
+++ b/tests/run.scm
@@ -85,6 +85,11 @@
;; process's stderr
(run/string (sh -c "echo 'hi, there' >&2")))
+ ;; Reported by Diego "dieggsy"
+ (test "Simple run/string and stderr dup()ed to stdout"
+ "hi, there\n"
+ (run/string (sh -c "echo 'hi, there' >&2") (= 2 1)))
+
(test "Unquote-splicing run/string"
"hi, there\n"
(run/string (echo ,@(list "hi," "there"))))