util-linux/tests
Karel Zak c1154128db fdisk: fix readline interaction with signals
The high-level readline API is crazy to use with signals. Fortunately
the library provides low-level rl_callback_* API. In this case we can
use poll() to wait for input and control all signals, etc.

This patch also a little changes fdisk behavior on CTRL+C and CTRL+D.
The signals does not kill fdisk, but forces fdisk to return to the
main menu, if already in the main menu then exit. If the disk layout
has been modified than ask "Do you really want to exit...".

Signed-off-by: Karel Zak <kzak@redhat.com>
2017-08-24 15:48:46 +02:00
..
expected fdisk: fix readline interaction with signals 2017-08-24 15:48:46 +02:00
helpers tests: add static keyword where needed [smatch scan] 2017-03-17 21:22:26 +00:00
ts libblkid: mark UBI as RAID 2017-08-03 15:31:54 +02:00
.gitignore tests: make compatible with autotools 2012-08-03 21:24:51 +02:00
Makemodule.am tests: style Makefile and make output 2014-05-12 09:57:14 +02:00
commands.sh tests: use sample-fdisk-mkpart-fullspec 2017-07-11 14:26:33 +02:00
functions.sh tests: add --show-diff 2017-02-16 14:14:54 +01:00
run.sh tests: add --show-diff 2017-02-16 14:14:54 +01:00