Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 17557 Details for
Bug 28074
Expect perl module ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test case (very simple)
pyExpect.pl (text/plain), 378 bytes, created by
Rob Davies
on 2003-09-12 03:16:47 UTC
(
hide
)
Description:
Test case (very simple)
Filename:
MIME Type:
Creator:
Rob Davies
Created:
2003-09-12 03:16:47 UTC
Size:
378 bytes
patch
obsolete
>#/usr/bin/perl -w > >use Expect; > >$command = Expect->spawn("python") or > die "Couldn't start python: $!\n"; > >unless ($command->expect( 3, '>>> ')) { > die "No python prompt!"; >} >print $command "2 + 2\r"; >unless ($command->expect( 3, -re => '^4\r\n')) { > die "2+2 != 4!!!!"; >} >unless ($command->expect( 3, '>>> ')) { > die "No python prompt!"; >} > >$command->hard_close();
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 28074
:
17184
|
17185
| 17557