All of lore.kernel.org
 help / color / mirror / Atom feed
From: chrubis@suse.cz
To: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Cc: Garrett Cooper <yanegomi@gmail.com>,
	LTP <ltp-list@lists.sourceforge.net>,
	Mike Frysinger <vapier@gentoo.org>
Subject: Re: [LTP] [PATCH] su01: fix the uncompleted string match
Date: Thu, 4 Apr 2013 11:02:54 +0200	[thread overview]
Message-ID: <20130404090254.GA6273@rei.Home> (raw)
In-Reply-To: <515CDA27.9010309@cn.fujitsu.com>

Hi!
> > I've looked in the expect docs and the syntax for regular expressions
> > should be '-re "^$USER\r"' (beware not tested).
> 
> I tested this and saw that it can't work, because the buffer of expect
> is not line oriented, the "^" and "$" can't work well at most time.

Thanks for the testing.

Lets proceed with the original version.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      parent reply	other threads:[~2013-04-04  9:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1364958179-5410-1-git-send-email-gaowanlong@cn.fujitsu.com>
2013-04-03 11:52 ` [LTP] [PATCH] su01: fix the uncompleted string match chrubis
     [not found]   ` <515C2398.4060906@cn.fujitsu.com>
2013-04-03 12:55     ` chrubis
     [not found]       ` <515CDA27.9010309@cn.fujitsu.com>
2013-04-04  9:02         ` chrubis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130404090254.GA6273@rei.Home \
    --to=chrubis@suse.cz \
    --cc=gaowanlong@cn.fujitsu.com \
    --cc=ltp-list@lists.sourceforge.net \
    --cc=vapier@gentoo.org \
    --cc=yanegomi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.