]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests: lib: remove strscpy test
authorMuhammad Usama Anjum <usama.anjum@collabora.com>
Thu, 25 Jul 2024 12:11:39 +0000 (17:11 +0500)
committerShuah Khan <skhan@linuxfoundation.org>
Thu, 1 Aug 2024 19:55:33 +0000 (13:55 -0600)
The strscpy test loads test_strscpy module for testing. But test_strscpy
was converted to Kunit (see fixes). Hence remove strscpy.

Fixes: 41eefc46a3a4 ("string: Convert strscpy() self-test to KUnit")
Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/lib/Makefile
tools/testing/selftests/lib/config
tools/testing/selftests/lib/strscpy.sh [deleted file]

index ee71fc99d5b515e744f37cd5dd2a00778474e284..c52fe3ad8e986d84a2cb3fe49230c3dfd41b9334 100644 (file)
@@ -4,6 +4,5 @@
 # No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
 all:
 
-TEST_PROGS := printf.sh bitmap.sh prime_numbers.sh scanf.sh strscpy.sh
-
+TEST_PROGS := printf.sh bitmap.sh prime_numbers.sh scanf.sh
 include ../lib.mk
index 645839b50b0a2fc3c5b3df51881d4bd354ac5d08..dc15aba8d0a3db312449bb74470aeab1ead90762 100644 (file)
@@ -2,5 +2,4 @@ CONFIG_TEST_PRINTF=m
 CONFIG_TEST_SCANF=m
 CONFIG_TEST_BITMAP=m
 CONFIG_PRIME_NUMBERS=m
-CONFIG_TEST_STRSCPY=m
 CONFIG_TEST_BITOPS=m
diff --git a/tools/testing/selftests/lib/strscpy.sh b/tools/testing/selftests/lib/strscpy.sh
deleted file mode 100755 (executable)
index be60ef6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-# SPDX-License-Identifier: GPL-2.0+
-$(dirname $0)/../kselftest/module.sh "strscpy*" test_strscpy