mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 11:33:36 -04:00
This line in tools/testing/selftests/proc/read.c was added to catch
oopses, not to verify lseek correctness:
(void)lseek(fd, 0, SEEK_SET);
Oh, well. Prevent more embarassement with simple test.
Link: https://lkml.kernel.org/r/aKTCfMuRXOpjBXxI@p183
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
34 lines
1012 B
Makefile
34 lines
1012 B
Makefile
# SPDX-License-Identifier: GPL-2.0-only
|
|
CFLAGS += -Wall -O2 -Wno-unused-function
|
|
CFLAGS += $(TOOLS_INCLUDES)
|
|
LDFLAGS += -pthread
|
|
|
|
TEST_GEN_PROGS :=
|
|
TEST_GEN_PROGS += fd-001-lookup
|
|
TEST_GEN_PROGS += fd-002-posix-eq
|
|
TEST_GEN_PROGS += fd-003-kthread
|
|
TEST_GEN_PROGS += proc-2-is-kthread
|
|
TEST_GEN_PROGS += proc-loadavg-001
|
|
TEST_GEN_PROGS += proc-maps-race
|
|
TEST_GEN_PROGS += proc-net-dev-lseek
|
|
TEST_GEN_PROGS += proc-empty-vm
|
|
TEST_GEN_PROGS += proc-pid-vm
|
|
TEST_GEN_PROGS += proc-self-map-files-001
|
|
TEST_GEN_PROGS += proc-self-map-files-002
|
|
TEST_GEN_PROGS += proc-self-isnt-kthread
|
|
TEST_GEN_PROGS += proc-self-syscall
|
|
TEST_GEN_PROGS += proc-self-wchan
|
|
TEST_GEN_PROGS += proc-subset-pid
|
|
TEST_GEN_PROGS += proc-tid0
|
|
TEST_GEN_PROGS += proc-uptime-001
|
|
TEST_GEN_PROGS += proc-uptime-002
|
|
TEST_GEN_PROGS += read
|
|
TEST_GEN_PROGS += self
|
|
TEST_GEN_PROGS += setns-dcache
|
|
TEST_GEN_PROGS += setns-sysvipc
|
|
TEST_GEN_PROGS += thread-self
|
|
TEST_GEN_PROGS += proc-multiple-procfs
|
|
TEST_GEN_PROGS += proc-fsconfig-hidepid
|
|
|
|
include ../lib.mk
|