on e049ef9 help sign in
prybar/tests/python2/1_plus_1.exp
12 lines 176 B history raw
1#!/usr/bin/expect -f
3spawn ./prybar-python2 -i
4match_max 100000
5expect "Python 2.*"
6expect -exact "--> "
7send -- "1+1\r"
8expect -exact "1+1\r
92\r
10--> "
11send -- ""
12expect eof