summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/tty/Makefile
diff options
context:
space:
mode:
authorMichal Sekletar <msekleta@redhat.com>2023-06-13 19:21:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-06-15 13:45:42 +0200
commite8cc334847dbd204ed4f500b3e3fa899b3766b62 (patch)
tree5519fa28ed341076e267dd4f75484d633de96018 /tools/testing/selftests/tty/Makefile
parent360c11e2258ce4269441a5ab6d43d0b202f4261b (diff)
downloadlinux-stable-e8cc334847dbd204ed4f500b3e3fa899b3766b62.tar.gz
linux-stable-e8cc334847dbd204ed4f500b3e3fa899b3766b62.tar.bz2
linux-stable-e8cc334847dbd204ed4f500b3e3fa899b3766b62.zip
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