comsat: improve tty handling, add testsuite.
* comsat/action.c (need_crlf, _open_tty, open_tty): Moved from comsat.c (open_default_tty): New function. (run_user_action): Take device name as first argument. Reuse wordsplit memory. * comsat/comsat.c (notify_user): Update invocation of run_user_action. * comsat/comsat.h (open_tty): Remove prototype. (run_user_action): Change signature. * configure.ac: Add comsat tests. * comsat/Makefile.am (SUBDIRS): Add tests. * comsat/tests/.gitignore: New file. * comsat/tests/Makefile.am: New file. * comsat/tests/atlocal.in: New file. * comsat/tests/testsuite.at: New file.
Showing
9 changed files
with
386 additions
and
126 deletions
comsat/tests/.gitignore
0 → 100644
comsat/tests/Makefile.am
0 → 100644
comsat/tests/atlocal.in
0 → 100644
comsat/tests/testsuite.at
0 → 100644
-
Please register or sign in to post a comment