Send CONTROL C via expect
From: Earl Grieda (egriedaIsNotAt_at_WahooXXXyahoo.com)
Date: 05/29/04
- Next message: Roi: "rivet wants APXS ??what is it ?"
- Previous message: Don Porter: "Re: Something strange on pkgIndex"
- Next in thread: Cameron Laird: "Re: Send CONTROL C via expect"
- Reply: Cameron Laird: "Re: Send CONTROL C via expect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 29 May 2004 16:54:53 GMT
An automated test case will send a ping, via expect, and wait for a
successful response. However, the writer neglected to cover all possible
responses. So, if the ping is unsuccesful it returns the message "Request
timed out.", and then pings forever, or until CONTROL C is sent to kill the
ping. I want to fix the test case to send a "control c" if this occurs.
What is the expect syntax:
send "<control C goes here>\r"
Thanks.
- Next message: Roi: "rivet wants APXS ??what is it ?"
- Previous message: Don Porter: "Re: Something strange on pkgIndex"
- Next in thread: Cameron Laird: "Re: Send CONTROL C via expect"
- Reply: Cameron Laird: "Re: Send CONTROL C via expect"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|