aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-11-10 09:08:20 -0500
committerSteven Rostedt <rostedt@goodmis.org>2010-11-18 11:23:13 -0500
commiteec5646031a54858362f7192a928511a23612f6b (patch)
tree0cc220e9e720f1a18a2696da0f947f4f07c7725c /tools/testing
parent1c8a617a274c4065681d964cd5a5afb921de4a87 (diff)
downloadkernel_samsung_espresso10-eec5646031a54858362f7192a928511a23612f6b.zip
kernel_samsung_espresso10-eec5646031a54858362f7192a928511a23612f6b.tar.gz
kernel_samsung_espresso10-eec5646031a54858362f7192a928511a23612f6b.tar.bz2
ktest: For grub reboot, use run_ssh instead of run_command
The run_ssh handles the ssh variable $SSH_COMMAND, which was not being used by the run_command in reboot_to function. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing')
-rwxr-xr-xtools/testing/ktest/ktest.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl
index 6e85973..08a875f 100755
--- a/tools/testing/ktest/ktest.pl
+++ b/tools/testing/ktest/ktest.pl
@@ -561,7 +561,7 @@ sub wait_for_input
sub reboot_to {
if ($reboot_type eq "grub") {
- run_command "$ssh_exec '(echo \"savedefault --default=$grub_number --once\" | grub --batch; reboot)'";
+ run_ssh "'(echo \"savedefault --default=$grub_number --once\" | grub --batch; reboot)'";
return;
}