summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/lib/scanf.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/lib/scanf.sh')
-rwxr-xr-xtools/testing/selftests/lib/scanf.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/testing/selftests/lib/scanf.sh b/tools/testing/selftests/lib/scanf.sh
new file mode 100755
index 000000000..b59b8ba56
--- /dev/null
+++ b/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