login_tty: Stricter unit test.
authorBruno Haible <bruno@clisp.org>
Fri, 17 Sep 2010 02:00:49 +0000 (04:00 +0200)
committerBruno Haible <bruno@clisp.org>
Fri, 17 Sep 2010 02:00:49 +0000 (04:00 +0200)
commitb7c95ee2f21751f24fd6245a8545cc8b3c555e60
tree17a1fc5d1b23539141add17ec4e740b3655f1f7c
parent12e334402dda8c5989c395949ed4a6d1311ca56d
login_tty: Stricter unit test.

* modules/login_tty-tests (Depends-on): Add tcgetsid.
* tests/test-login_tty.c (main): Also check the results of tcgetpgrp()
and tcgetsid() after login_tty.
Reported by Mats Erik Andersson <mats.andersson@gisladisker.se>.
ChangeLog
modules/login_tty-tests
tests/test-login_tty.c