diff options
Diffstat (limited to 'tools/testing/ktest/ktest.pl')
-rwxr-xr-x | tools/testing/ktest/ktest.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/testing/ktest/ktest.pl b/tools/testing/ktest/ktest.pl index 63245a56aca3..f4b8f96a9430 100755 --- a/tools/testing/ktest/ktest.pl +++ b/tools/testing/ktest/ktest.pl | |||
@@ -1147,6 +1147,9 @@ sub wait_for_monitor; | |||
1147 | sub reboot { | 1147 | sub reboot { |
1148 | my ($time) = @_; | 1148 | my ($time) = @_; |
1149 | 1149 | ||
1150 | # Make sure everything has been written to disk | ||
1151 | run_ssh("sync"); | ||
1152 | |||
1150 | if (defined($time)) { | 1153 | if (defined($time)) { |
1151 | start_monitor; | 1154 | start_monitor; |
1152 | # flush out current monitor | 1155 | # flush out current monitor |