summaryrefslogtreecommitdiffstats
path: root/t/010-read-write.t
diff options
context:
space:
mode:
authordoy <doy@tozt.net>2009-02-03 20:04:18 -0500
committerdoy <doy@tozt.net>2009-02-03 20:04:18 -0500
commit3ac8638b4c875d2db479afc28dc336a80ed546fa (patch)
tree511ee4da67945702706172a323174b884c6194f2 /t/010-read-write.t
parentf3f64ba34c7c00b82c21d0a61f4b854750f59c98 (diff)
downloadio-pty-easy-3ac8638b4c875d2db479afc28dc336a80ed546fa.tar.gz
io-pty-easy-3ac8638b4c875d2db479afc28dc336a80ed546fa.zip
close the child ptys after tests that spawn things in them
Diffstat (limited to 't/010-read-write.t')
-rw-r--r--t/010-read-write.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/010-read-write.t b/t/010-read-write.t
index a7ad8c7..8e401ad 100644
--- a/t/010-read-write.t
+++ b/t/010-read-write.t
@@ -12,4 +12,4 @@ like($pty->read, qr/testing/, "basic read/write testing");
# if the perl script ends with a subprocess still running, the test will exit
# with the exit status of the signal that the subprocess dies with, so we have
# to kill the subprocess before exiting.
-$pty->kill;
+$pty->close;