path: root/tools/testing/ktest/sample.conf
diff options
authorSteven Rostedt <srostedt@redhat.com>2012-03-21 08:21:24 -0400
committerSteven Rostedt <rostedt@goodmis.org>2012-03-21 08:21:24 -0400
commit02ad261704a54ebb45de370f219e55530d702291 (patch)
tree6ff2aa988b25ea7e71cb0aa3278c59113bb62b25 /tools/testing/ktest/sample.conf
parentktest: Add warning when bugs are ignored (diff)
ktest: Add SCP_TO_TARGET_INSTALL option
Currently the option used to scp both the modules to the target as well as the kernel image are the same (SCP_TO_TARGET). But some embedded boards may require them to be different. The modules may need to be put directly on the board, but the kernel image may need to go to a tftpserver. Add the option SCP_TO_TARGET_INSTALL that will allow the user to change the config so that they may have the modules and image got to different machines. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to '')
1 files changed, 11 insertions, 3 deletions
diff --git a/tools/testing/ktest/sample.conf b/tools/testing/ktest/sample.conf
index 5ea04c6a71bf..b682456afda8 100644
--- a/tools/testing/ktest/sample.conf
+++ b/tools/testing/ktest/sample.conf
@@ -710,10 +710,18 @@
# The variables SSH_USER, MACHINE and SSH_COMMAND are defined
-# The way to copy a file to the target
+# The way to copy a file to the target (install and modules)
-# The variables SSH_USER, MACHINE, SRC_FILE and DST_FILE are defined.
+# The variables SSH_USER, MACHINE are defined by the config
+# SRC_FILE and DST_FILE are ktest internal variables and
+# should only have '$' and not the '${}' notation.
+# (default scp $SRC_FILE ${SSH_USER}@${MACHINE}:$DST_FILE)
+#SCP_TO_TARGET = echo skip scp for $SRC_FILE $DST_FILE
+# If install needs to be different than modules, then this
+# option will override the SCP_TO_TARGET for installation.
+# (default ${SCP_TO_TARGET} )
+#SCP_TO_TARGET_INSTALL = scp $SRC_FILE tftp@tftpserver:$DST_FILE
# The nice way to reboot the target
# (default ssh $SSH_USER@$MACHINE reboot)