We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50f530e commit ef04d4fCopy full SHA for ef04d4f
tools/testing/selftests/lib/Makefile
@@ -4,6 +4,6 @@
4
# No binaries, but make sure arg-less "make" doesn't trigger "run_tests"
5
all:
6
7
-TEST_PROGS := printf.sh bitmap.sh prime_numbers.sh strscpy.sh
+TEST_PROGS := printf.sh bitmap.sh prime_numbers.sh scanf.sh strscpy.sh
8
9
include ../lib.mk
tools/testing/selftests/lib/config
@@ -1,4 +1,5 @@
1
CONFIG_TEST_PRINTF=m
2
+CONFIG_TEST_SCANF=m
3
CONFIG_TEST_BITMAP=m
CONFIG_PRIME_NUMBERS=m
CONFIG_TEST_STRSCPY=m
tools/testing/selftests/lib/scanf.sh
@@ -0,0 +1,4 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0
+# Tests the scanf infrastructure using test_scanf kernel module.
+$(dirname $0)/../kselftest/module.sh "scanf" test_scanf
0 commit comments