#!/usr/bin/expect -f

set env(TERM) vt100
 
set timeout 10
match_max 100000

spawn ping -c 10 $argv
expect "time=" {
    exit 0
}
exit 1
