summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/tty/Makefile
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2023-06-13 20:21:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-15 14:45:42 +0300
commite8cc334847dbd204ed4f500b3e3fa899b3766b62 (patch)
tree5519fa28ed341076e267dd4f75484d633de96018 /tools/testing/selftests/tty/Makefile
parent360c11e2258ce4269441a5ab6d43d0b202f4261b (diff)
downloadlinux-e8cc334847dbd204ed4f500b3e3fa899b3766b62.tar.xz
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>
Diffstat (limited to 'tools/testing/selftests/tty/Makefile')
-rw-r--r--tools/testing/selftests/tty/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/testing/selftests/tty/Makefile b/tools/testing/selftests/tty/Makefile
new file mode 100644
index 000000000000..50d7027b2ae3
--- /dev/null
+++ b/tools/testing/selftests/tty/Makefile
@@ -0,0 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0
+CFLAGS = -O2 -Wall
+TEST_GEN_PROGS := tty_tstamp_update
+
+include ../lib.mk