selftests/nolibc: remove test gettimeofday_null
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 30 May 2023 13:48:48 +0000 (15:48 +0200)
committerPaul E. McKenney <paulmck@kernel.org>
Fri, 9 Jun 2023 18:46:09 +0000 (11:46 -0700)
commita4c65af1511c8cf14ada10a957250c5051b8ccac
treea5988b00903d549e971f2d4c83200b6580717e98
parentf9bf5944d37b75b8238349d4fb5b7a97bbecfc9d
selftests/nolibc: remove test gettimeofday_null

gettimeofday() is not guaranteed by posix to handle a NULL value as first
argument gracefully.
On glibc for example it crashes. (When not going through the vdso)

Link: https://lore.kernel.org/lkml/96f1134d-ce6e-4d82-ae00-1cd4038809c4@t-8ch.de/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/nolibc/nolibc-test.c