diff options
Diffstat (limited to 't/extra-pty.t')
-rw-r--r-- | t/extra-pty.t | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/t/extra-pty.t b/t/extra-pty.t index 1e7210a..e5ceebc 100644 --- a/t/extra-pty.t +++ b/t/extra-pty.t @@ -100,7 +100,8 @@ alarm 60; close($readfh); close($writefh); - is(full_read($pty), "2pipe error (read)!\n"); + # whether this generates an exception or a failed read is system-dependent + like(full_read($pty), qr/pipe error/); } sub full_read { |