aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhangjin Wu <[email protected]>2023-05-25 01:54:19 +0800
committerPaul E. McKenney <[email protected]>2023-06-09 11:46:09 -0700
commitda1affc5cedacb91ce0a15ad768e56383d1e48b7 (patch)
treea1dd83c92790c28fb7386db1fd51e55b5028ab02
parent758f970f4204d17b4e14774d6eb2b8bdecda067e (diff)
selftests/nolibc: remove the duplicated gettimeofday_bad2
There were two exactly similar occurrences of this test. Signed-off-by: Zhangjin Wu <[email protected]> Signed-off-by: Willy Tarreau <[email protected]> Signed-off-by: Paul E. McKenney <[email protected]>
-rw-r--r--tools/testing/selftests/nolibc/nolibc-test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c
index ffdf1e8c305c..d417ca5d976f 100644
--- a/tools/testing/selftests/nolibc/nolibc-test.c
+++ b/tools/testing/selftests/nolibc/nolibc-test.c
@@ -587,7 +587,6 @@ int run_syscall(int min, int max)
#ifdef NOLIBC
CASE_TEST(gettimeofday_bad1); EXPECT_SYSER(1, gettimeofday((void *)1, NULL), -1, EFAULT); break;
CASE_TEST(gettimeofday_bad2); EXPECT_SYSER(1, gettimeofday(NULL, (void *)1), -1, EFAULT); break;
- CASE_TEST(gettimeofday_bad2); EXPECT_SYSER(1, gettimeofday(NULL, (void *)1), -1, EFAULT); break;
#endif
CASE_TEST(getpagesize); EXPECT_SYSZR(1, test_getpagesize()); break;
CASE_TEST(ioctl_tiocinq); EXPECT_SYSZR(1, ioctl(0, TIOCINQ, &tmp)); break;