summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2023-11-25 11:54:02 +0100
committerThomas Weißschuh <linux@weissschuh.net>2023-12-11 22:38:33 +0100
commit825f404776b4f9d5f4a35545ea2d258bb16c0d4e (patch)
tree7a4b7ad1c03ec74ecdccd08c1c799ab192ca2f6d /tools
parentdece8476d6dda087cacb8e105bb70e02a9ef9387 (diff)
downloadlinux-stable-825f404776b4f9d5f4a35545ea2d258bb16c0d4e.tar.gz
linux-stable-825f404776b4f9d5f4a35545ea2d258bb16c0d4e.tar.bz2
linux-stable-825f404776b4f9d5f4a35545ea2d258bb16c0d4e.zip
tools/nolibc: drop duplicated testcase ioctl_tiocinq
The same testcase is present on the line above. Fixes: b4844fa0bdb4 ("selftests/nolibc: implement a few tests for various syscalls") Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Diffstat (limited to 'tools')
-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 2b71fb5fae4e..783c2a97c4e3 100644
--- a/tools/testing/selftests/nolibc/nolibc-test.c
+++ b/tools/testing/selftests/nolibc/nolibc-test.c
@@ -910,7 +910,6 @@ int run_syscall(int min, int max)
CASE_TEST(gettimeofday_tv_tz);EXPECT_SYSZR(1, gettimeofday(&tv, &tz)); break;
CASE_TEST(getpagesize); EXPECT_SYSZR(1, test_getpagesize()); break;
CASE_TEST(ioctl_tiocinq); EXPECT_SYSZR(1, ioctl(0, TIOCINQ, &tmp)); break;
- CASE_TEST(ioctl_tiocinq); EXPECT_SYSZR(1, ioctl(0, TIOCINQ, &tmp)); break;
CASE_TEST(link_root1); EXPECT_SYSER(1, link("/", "/"), -1, EEXIST); break;
CASE_TEST(link_blah); EXPECT_SYSER(1, link("/proc/self/blah", "/blah"), -1, ENOENT); break;
CASE_TEST(link_dir); EXPECT_SYSER(euid0, link("/", "/blah"), -1, EPERM); break;