ktest: Sync before reboot
authorSteven Rostedt <srostedt@redhat.com>
Tue, 11 Dec 2012 19:59:05 +0000 (14:59 -0500)
committerSteven Rostedt <rostedt@goodmis.org>
Tue, 11 Dec 2012 19:59:05 +0000 (14:59 -0500)
commita496872212e50a7e543a027faf35b0909459ec9e
tree70141d18c30e540e930e5a2707b58cf11013606b
parenta15ba91361d46b4cc71d76d5712fb6420b517d8a
ktest: Sync before reboot

Before rebooting the target, run the sync command, as it seems that
either Grub2 or systemd gets screwed up if you update to reboot a kernel
once and do a reboot without doing a sync.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
tools/testing/ktest/ktest.pl