selftests: tty: add selftest for tty timestamp updates
authorMichal Sekletar <msekleta@redhat.com>
Tue, 13 Jun 2023 17:21:08 +0000 (19:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 Jun 2023 11:45:42 +0000 (13:45 +0200)
commite8cc334847dbd204ed4f500b3e3fa899b3766b62
tree5519fa28ed341076e267dd4f75484d633de96018
parent360c11e2258ce4269441a5ab6d43d0b202f4261b
selftests: tty: add selftest for tty timestamp updates

Add new test case which checks that timestamp updates on actual terminal
character device (e.g. /dev/pts/0) happen even if the terminal is
accessed via magic /dev/tty file.

Signed-off-by: Michal Sekletar <msekleta@redhat.com>
Message-ID: <20230613172107.78138-2-msekleta@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/Makefile
tools/testing/selftests/tty/.gitignore [new file with mode: 0644]
tools/testing/selftests/tty/Makefile [new file with mode: 0644]
tools/testing/selftests/tty/tty_tstamp_update.c [new file with mode: 0644]