Mercurial > hg
view tests/test-hghave.t @ 22589:9ab18a912c44
ui: show prompt choice if input is not a tty but is forced to be interactive
The tests often set ui.interactive to control normally interactive prompts from
stdin. That gave an output where it was non-obvious what prompts got which
which response, and the output lacked the newline users would see after input.
Instead, if the input not is a tty, write the selection and a newline.
author | Mads Kiilerich <madski@unity3d.com> |
---|---|
date | Wed, 01 Oct 2014 01:04:18 +0200 |
parents | 60738066e37a |
children | 4d2b9b304ad0 |
line wrap: on
line source
Testing that hghave does not crash when checking features $ "$TESTDIR/hghave" --test-features 2>/dev/null