testprogs: use texpect instead of rkpty.