summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/pause/runme.sh (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use a venv in more integration tests (#83799)Matt Clay2024-08-151-1/+3
| | | | | * Use venv for pause test * Use venv for debugger test * Use venv for builtin_vars_prompt test
* Typo fixes and other bits and bobs (#83672)Lee Garrett2024-07-271-1/+1
| | | Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>
* pause - adjust warning when run in background (#73182)Sam Doran2021-01-141-6/+19
| | | | | | | | When the pause module is run in the background and seconds parameter is provided, do not warn. * Add tests * Fix existing tests The test wasn't failing when it should have.
* More test fixes for split controller/remote tests.Matt Clay2019-01-261-4/+6
|
* Add setup roles for passlib and pexpect for use with pause and vars_prompt ↵Sam Doran2018-11-081-1/+0
| | | | | | | | | | | | tests (#43613) * Add passlib to RHEL test instance This looks like the only tests instance that is missing this libary. It is needed for vars_prompt tests. * Create setup roles for pexect and passlib Switch to using aliases rather than installing directly in the test scripts
* Fix pause module so it does not stack trace when redirecting stdout. (#42217)Sam Doran2018-07-061-0/+6
| | | | | | * Use separate variables for stdin and stdout file descriptors * Do not set stdout to raw mode when output is not a TTY
* Fix ctrl+c in pause module and add tests (#40134)Sam Doran2018-05-211-0/+23
* Fix all cases with pause and ctrl+c - naked: - pause: - with prompt - pause: prompt=hi - time wait - pause: seconds=60 - time wait with prompt - pause: seconds=60 prompt=hi Fixes #35372 * Use curses to control stdout * Use curses to clear lines on interactive input * Validate input for echo parameter and fail nicely if invalid * Add integration tests for pause module using pexpect * Use try except when trying to determine erase sequence to account for lack of TTY in containers in tests * Improve output validation for regular paus test * Accept two digit precision for pause length in test * Check for seconds when seconds is specificed, minutes when minutes is specified * Add test for no TTY mode Co-authored by: Toshio Kuratomi <a.badger@gmail.com> Co-authored by: Brian Coca <brian.coca+git@gmail.com>