aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/ktest/sample.conf
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-07-19 15:22:05 -0400
committerSteven Rostedt <rostedt@goodmis.org>2012-07-19 15:22:05 -0400
commite5c2ec11a07b9e1e7eb714aad13583e2bbae49bd (patch)
treefd95397b6cc081de8f6114a1042c710b2a289a44 /tools/testing/ktest/sample.conf
parentktest: Add PRE/POST_KTEST and TEST options (diff)
downloadwireguard-linux-e5c2ec11a07b9e1e7eb714aad13583e2bbae49bd.tar.xz
wireguard-linux-e5c2ec11a07b9e1e7eb714aad13583e2bbae49bd.zip
ktest: Add PRE_INSTALL option
Add the PRE_INSTALL option that will allow a user to specify a shell command to be executed before the install operation executes. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest/sample.conf')
-rw-r--r--tools/testing/ktest/sample.conf8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index 4472452f5be1..19754e0c8c64 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -426,6 +426,14 @@
# (default "")
#BUILD_OPTIONS = -j20
+# If you need to do some special handling before installing
+# you can add a script with this option.
+# The environment variable KERNEL_VERSION will be set to the
+# kernel version that is used.
+#
+# default (undefined)
+#PRE_INSTALL = ssh user@target rm -rf '/lib/modules/*-test*'
+
# If you need an initrd, you can add a script or code here to install
# it. The environment variable KERNEL_VERSION will be set to the
# kernel version that is used. Remember to add the initrd line