Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 257505 Details for
Bug 348671
dev-tcltk/expect-5.44.1.15 does not honor its "timeout" or "eof" expectations
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script that recognizes eof and timeout as documented
script1.exp (text/plain), 237 bytes, created by
Kevin O'Gorman
on 2010-12-18 17:20:42 UTC
(
hide
)
Description:
Script that recognizes eof and timeout as documented
Filename:
MIME Type:
Creator:
Kevin O'Gorman
Created:
2010-12-18 17:20:42 UTC
Size:
237 bytes
patch
obsolete
>#!/usr/bin/expect -f > >set timeout 1 >spawn ./count.sh >match_max 100000 > >expect { > -exact "four\r" { exit 1; } > timeout { send_user "\ntimeout\n"; exit 2; } > eof { send_user "\nEarly end\n"; exit 3; } >} >send_user "Normal end\n"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 348671
:
257072
|
257073
| 257505 |
257506