Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: fg and bg tests
- X-seq: zsh-workers 42725
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: PATCH: fg and bg tests
- Date: Wed, 25 Apr 2018 10:55:55 -0700
- Cc: "Zsh hackers' list" <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=DBg1XaG0feH1lliOSaPLRfaV5voYuBxw9tfrJCDlacg=; b=wCb5Mg+uPecEhTy24Oglv8YB4QOWEp/ApIdZ4vTK1VBI3DmvAsEjZK18VRkboL3PAB rx0bJ/JX0s7z3hHF+oYEPEsjHvw9td/GuGKeJ+rnVwBwjHfiBkbTDngMb4SFgnNVlme/ pHlCFUDRFj6z9QJpx24YwWv7O5A9QynX77RkkJvbUoA77fZEXi1isjS8Xc8f0tEJ67gI hVPZu+6ZCq9PK8T/w+oIFMi9g7157EggCH0hnhsMet5HuinJcFSkmA32AFotptIpD6m2 huvEnNJ8+X+xCFCtRbnwrInLA2R7oFzFjrCJseLjX7aXTUVJp79L2LhAg0DL6nr4BgRc yxhA==
- In-reply-to: <20180425184110.3de75e94@camnpupstephen.cam.scsc.local>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20180425090941eucas1p187cf5d07341d2041c15e9947962f3bd9@eucas1p1.samsung.com> <20180424135944.64e73c62@camnpupstephen.cam.scsc.local> <20180425100940.31816d28@camnpupstephen.cam.scsc.local> <CAH+w=7bxJQN6bvGdGNmGrA7jDa9xJei+kQ_0X+0kxX9pR176Zg@mail.gmail.com> <20180425155647.3e897139@camnpupstephen.cam.scsc.local> <20180425180155.13597f28@camnpupstephen.cam.scsc.local> <CAH+w=7ZoMcrLvctSnUv7RuA=W555J1HenpbOD55X7ZFr3XPQ7Q@mail.gmail.com> <20180425184110.3de75e94@camnpupstephen.cam.scsc.local>
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