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

Re: PATCH: fg and bg tests



On Wed, Apr 25, 2018 at 2:09 AM, Peter Stephenson
<p.stephenson@xxxxxxxxxxx> wrote:
>
> This improves matters in this case by using output from the zpty

This fails on MacOS:

./W02jobs.ztst: starting.
Pattern match failed, line 0:
 <0
 <stuff1
 <
 <
 <
 >0
 >?
 >?
 >7
 >stuff1
Test ./W02jobs.ztst failed: output differs from expected as shown above for:
  zpty_start
  zpty_input $'ed 2>/dev/null\n=\n'
  zpty_line
  zpty_input $'a\nstuff1\n.\nw tmpfile\nq\n'
  zpty_stop
  cat tmpfile
  rm -f tmpfile
Was testing: Sanity check of "ed" as foreground process
./W02jobs.ztst: test failed.
The following may (or may not) help identifying the cause:
  This test checks we can run the simple editor "ed" as a way of testing
  user interaction for later job control tests .  The test itself is
  trivial; its failure may simply indicate our test methodology does not
  work on this system.



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