diff options
author | doy <doy@tozt.net> | 2009-02-03 20:04:18 -0500 |
---|---|---|
committer | doy <doy@tozt.net> | 2009-02-03 20:04:18 -0500 |
commit | 3ac8638b4c875d2db479afc28dc336a80ed546fa (patch) | |
tree | 511ee4da67945702706172a323174b884c6194f2 /t/003-subprocess.t | |
parent | f3f64ba34c7c00b82c21d0a61f4b854750f59c98 (diff) | |
download | io-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/003-subprocess.t')
-rw-r--r-- | t/003-subprocess.t | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/t/003-subprocess.t b/t/003-subprocess.t index c5d17bd..352b7b4 100644 --- a/t/003-subprocess.t +++ b/t/003-subprocess.t @@ -18,4 +18,4 @@ unlike($outside_of_pty, qr/ok/, "running outside of pty fails -t checks"); $script .= "sleep 1 while 1;"; $pty->spawn("$^X -e '$script'"); like($pty->read, qr/ok/, "runs subprocess in a pty"); -$pty->kill; +$pty->close; |