#12 Match (Exp_match) is not reset by new expect()

nice-to-have
open-accepted
Core (10)
5
2009-12-17
2006-11-17
Anonymous
No

When iterating through a spawned command's response if checked Expext::match() against nul or being defined.
This test always failed because the last match() wasn't reset by expect().
IMHO it should undefine the match before checking for a new match as was done with the error status.

Discussion

  • Roland Giersig
    Roland Giersig
    2009-12-17

    • assigned_to: nobody --> rgiersig
    • status: open --> open-accepted
     
  • Roland Giersig
    Roland Giersig
    2009-12-17

    Valid suggestion, wil look into it.