From d7bc20c93311fcda1e8548a121db1bdf769dec87 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sun, 26 Jun 2016 21:47:36 -0700 Subject: don't allow f-k-r to run if stdin/stdout not a tty Another developer noticed that redirecting stdin of `fish_key_reader` results in weird behavior. Which is not at all surprising. So add checks to ensure stdin and stdout are attached to a tty. Add some rudimentary unit tests for this program. --- tests/fkr.expect.err | 0 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/fkr.expect.err (limited to 'tests/fkr.expect.err') diff --git a/tests/fkr.expect.err b/tests/fkr.expect.err new file mode 100644 index 00000000..e69de29b -- cgit v1.2.3