summaryrefslogtreecommitdiff
path: root/test-suite/tests/posix.test
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/tests/posix.test')
-rw-r--r--test-suite/tests/posix.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test-suite/tests/posix.test b/test-suite/tests/posix.test
index bd3e6218c..f20e04453 100644
--- a/test-suite/tests/posix.test
+++ b/test-suite/tests/posix.test
@@ -386,6 +386,11 @@
0
(cdr (waitpid (spawn "true" '("true")))))
+ (pass-if-exception "non-file port argument" ;<https://bugs.gnu.org/61073>
+ exception:wrong-type-arg
+ (spawn "true" '("true")
+ #:error (%make-void-port "w")))
+
(pass-if-equal "uname with stdout redirect"
(list 0 ;exit value
(string-append (utsname:sysname (uname)) " "