aboutsummaryrefslogtreecommitdiff
path: root/sysctl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysctl/Makefile')
-rw-r--r--sysctl/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/sysctl/Makefile b/sysctl/Makefile
new file mode 100644
index 0000000..0a92ada
--- /dev/null
+++ b/sysctl/Makefile
@@ -0,0 +1,19 @@
+# Makefile for sysctl selftests.
+# Expects kernel.sysctl_writes_strict=1.
+
+# No binaries, but make sure arg-less "make" doesn't trigger "run_tests".
+all:
+
+# Allow specific tests to be selected.
+test_num:
+ @/bin/sh ./run_numerictests
+
+test_string:
+ @/bin/sh ./run_stringtests
+
+run_tests: all test_num test_string
+
+# Nothing to clean up.
+clean:
+
+.PHONY: all run_tests clean test_num test_string