projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c8a617
)
ktest: For grub reboot, use run_ssh instead of run_command
author
Steven Rostedt
<srostedt@redhat.com>
Wed, 10 Nov 2010 14:08:20 +0000
(09:08 -0500)
committer
Steven Rostedt
<rostedt@goodmis.org>
Thu, 18 Nov 2010 16:23:13 +0000
(11:23 -0500)
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>
tools/testing/ktest/ktest.pl
patch
|
blob
|
history
diff --git
a/tools/testing/ktest/ktest.pl
b/tools/testing/ktest/ktest.pl
index 6e85973984683d05129afb7618c43d1be493af3a..08a875fa4251fa761b6f3d80e6a65c0549760c42 100755
(executable)
--- 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;
}