Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: fg and bg tests



On Wed, Apr 25, 2018 at 10:41 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
>
> With a bit of luck, dc is easier to manage all round.

Sadly:

./W02jobs.ztst: starting.
Pattern match filead, line mismatch (6/9):
 <1
 <zsh:*(stopped|suspended)*dc*
 <*continued*dc*
 <*(stopped|suspended)*dc*
 <*continued*dc*
 <2
 >1
 >zsh: suspended  dc 2> /dev/null
 >[1]  + continued  dc 2> /dev/null
 >[1]  + suspended (tty input)  dc 2> /dev/null
 >[1]  + continued  dc 2> /dev/null
 >zsh: command not found: 1
 >zsh: command not found: +
 >zsh: command not found: p
 >zsh: command not found: q
Test ./W02jobs.ztst failed: output differs from expected as shown above for:
  zpty_start
  zpty_input $'dc 2>/dev/null\n1\np\n'
  zpty_line
  zpty_input $'\C-z'
  zpty_input 'bg'
  zpty_input 'fg'
  zpty_input $'1\n+\np\nq\n'
  zpty_stop
Was testing: bg and fg with user input



Messages sorted by: Reverse Date, Date, Thread, Author