linux/tools/testing/selftests/nolibc
Zhangjin Wu f576d3c075 selftests/nolibc: stat_timestamps: remove procfs dependency
'/proc/self/' is a good path which doesn't have stale time info but it
is only available for CONFIG_PROC_FS=y.

When CONFIG_PROC_FS=n, use argv0 instead of '/proc/self', use '/' for the
worst case.

Reviewed-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Zhangjin Wu <falcon@tinylab.org>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2023-08-23 04:38:02 +02:00
..
.gitignore tools/nolibc: add libc-test binary 2023-06-09 11:33:05 -07:00
Makefile selftests/nolibc: add run-libc-test target 2023-08-23 04:38:02 +02:00
nolibc-test.c selftests/nolibc: stat_timestamps: remove procfs dependency 2023-08-23 04:38:02 +02:00