Issue 3 in textfsm: Transition to "End" state does not terminate processing of input lines

14 views
Skip to first unread message

tex...@googlecode.com

unread,
Apr 25, 2012, 9:20:38 AM4/25/12
to textf...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 3 by is...@gmx.net: Transition to "End" state does not terminate
processing of input lines
http://code.google.com/p/textfsm/issues/detail?id=3

What steps will reproduce the problem?
Using the attached example files:
textfsm.py exampletemplate exampleinput

What is the expected output?
FSM Table:
['IsOK', 'LineNo']
['OK', '1']
['OK', '2']

What do you see instead?
FSM Table:
['IsOK', 'LineNo']
['OK', '1']
['OK', '2']
['OK', '4']
['OK', '5']

What version of the product are you using? On what operating system?
textfsm 0.2.0, Ubuntu 10.04.4 LTS, x86_64, Python 2.6.5


TextFSMHowto mentions that "The End state is reserved and terminates
processing
of input lines and does not execute the EOF state."
This doesn't seem to work. The exampletemplate file also contains my current
workaround, i.e. transition to a state "Foo" which has no rules, but while
faster it's not a real solution.


Attachments:
exampletemplate 294 bytes
exampleinput 24 bytes

tex...@googlecode.com

unread,
Jun 4, 2012, 2:47:34 AM6/4/12
to textf...@googlegroups.com
Updates:
Owner: ha...@google.com

Comment #1 on issue 3 by ha...@google.com: Transition to "End" state does
not terminate processing of input lines
http://code.google.com/p/textfsm/issues/detail?id=3

(No comment was entered for this change.)

tex...@googlecode.com

unread,
Jun 19, 2012, 4:32:51 PM6/19/12
to textf...@googlegroups.com

Comment #2 on issue 3 by ha...@google.com: Transition to "End" state does
not terminate processing of input lines
http://code.google.com/p/textfsm/issues/detail?id=3

Patch uploaded for review.
http://codereview.appspot.com/6308094/

tex...@googlecode.com

unread,
Jun 19, 2012, 4:33:51 PM6/19/12
to textf...@googlegroups.com
Updates:
Status: Fixed

Comment #3 on issue 3 by ha...@google.com: Transition to "End" state does
not terminate processing of input lines
http://code.google.com/p/textfsm/issues/detail?id=3

Reply all
Reply to author
Forward
0 new messages